Namespaces

Enumerations

enum Flags
Name Value
F0 0
F1 1
F2 2
F3 4
F4 8
LLVM_BITMASK_LARGEST_ENUMERATOR F4
Defined at line 15 of file llvm/unittests/ADT/BitmaskEnumTest.cpp
enum BitmaskEnum
Name Value
F1 0x1
F2 0x2
LLVM_BITMASK_LARGEST_ENUMERATOR F2
Defined at line 18 of file llvm/unittests/Support/ScopedPrinterTest.cpp
enum ErrorErrorCode
Name Value
MultipleErrors 1
FileError 2
InconvertibleError 3
Defined at line 20 of file llvm/lib/Support/Error.cpp
enum MetadataRecordKinds
Name Value
NewBufferKind 0
EndOfBufferKind 1
NewCPUIdKind 2
TSCWrapKind 3
WalltimeMarkerKind 4
CustomEventMarkerKind 5
CallArgumentKind 6
BufferExtentsKind 7
TypedEventMarkerKind 8
PidKind 9
EnumEndMarker 10
Defined at line 20 of file llvm/lib/XRay/FDRRecordProducer.cpp
enum ItemValid
Name Value
ValidItem 0
InvalidItem 1
Defined at line 22 of file llvm/unittests/ADT/FallibleIteratorTest.cpp
enum LinkValid
Name Value
ValidLink 0
InvalidLink 1
Defined at line 23 of file llvm/unittests/ADT/FallibleIteratorTest.cpp
enum IPOGrouping
Name Value
Register 0
Return 1
Memory 2
Defined at line 23 of file llvm/unittests/Analysis/SparsePropagation.cpp
enum DWARFSectionKindV2
Name Value
DW_SECT_INFO 1
DW_SECT_TYPES 2
DW_SECT_ABBREV 3
DW_SECT_LINE 4
DW_SECT_LOC 5
DW_SECT_STR_OFFSETS 6
DW_SECT_MACINFO 7
DW_SECT_MACRO 8
Defined at line 23 of file llvm/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
enum LVCompareItem
Name Value
Scope 0
Symbol 1
Type 2
Line 3
Total 4
Defined at line 25 of file llvm/lib/DebugInfo/LogicalView/Core/LVCompare.cpp
enum 
Name Value
Rec_Continued 1
Rec_Continuation 1 << (8 - 6 - 1)
Defined at line 25 of file llvm/lib/ObjectYAML/GOFFEmitter.cpp
enum LVCompareIndex
Name Value
Header 0
Expected 1
Missing 2
Added 3
Defined at line 26 of file llvm/lib/DebugInfo/LogicalView/Core/LVCompare.cpp
enum LinkFrom
Name Value
Dst 0
Src 1
Both 2
Defined at line 26 of file llvm/lib/Linker/LinkModules.cpp
enum DefaultOnOff
Name Value
Default 0
Enable 1
Disable 2
Defined at line 27 of file llvm/lib/MC/MCAsmInfo.cpp
enum X86_32RelType
Name Value
RT32_NONE 0
RT32_32 1
RT32_16 2
RT32_8 3
Defined at line 27 of file llvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
enum Flags2
Name Value
V0 0
V1 1
V2 2
V3 4
V4 8
Defined at line 27 of file llvm/unittests/ADT/BitmaskEnumTest.cpp
enum ParseRet
Name Value
OK 0
None 1
Error 2
Defined at line 27 of file llvm/lib/IR/VFABIDemangler.cpp
enum X86_64RelType
Name Value
RT64_NONE 0
RT64_64 1
RT64_32 2
RT64_32S 3
RT64_16 4
RT64_8 5
Defined at line 28 of file llvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
enum ManglerPrefixTy
Name Value
Default 0
Private 1
LinkerPrivate 2
Defined at line 28 of file llvm/lib/IR/Mangler.cpp
enum ID
Name Value
OPT_INVALID 0
Defined at line 29 of file llvm/tools/llvm-cas/llvm-cas.cpp
enum EdgeKind_coff_x86_64
Name Value
PCRel32 x86_64::FirstPlatformRelocation
Pointer32NB 31
Pointer64 32
SectionIdx16 33
SecRel32 34
Defined at line 29 of file llvm/lib/ExecutionEngine/JITLink/COFF_x86_64.cpp
enum OutputType
Name Value
AutoPick 0
RunLLI 1
RunJIT 2
RunLLC 3
RunLLCIA 4
CompileCustom 5
Custom 6
Defined at line 29 of file llvm/tools/bugpoint/ExecutionDriver.cpp
enum JITLinkErrorCode
Name Value
GenericJITLinkError 1
Defined at line 31 of file llvm/lib/ExecutionEngine/JITLink/JITLink.cpp
enum Frontend
Name Value
LLVM 0
Flang 1
Clang 2
Defined at line 34 of file llvm/utils/TableGen/Basic/DirectiveEmitter.cpp
enum RuntimeDyldErrorCode
Name Value
GenericRTDyldError 1
Defined at line 34 of file llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
enum ObjcopyID
Name Value
OBJCOPY_INVALID 0
Defined at line 34 of file llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
enum 
Name Value
OPT_INVALID 0
Defined at line 39 of file llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
enum BasicType
Name Value
Bool 0
Char 1
I8 2
I16 3
I32 4
I64 5
I128 6
ISize 7
U8 8
U16 9
U32 10
U64 11
U128 12
USize 13
F32 14
F64 15
Str 16
Placeholder 17
Unit 18
Variadic 19
Never 20
Defined at line 40 of file llvm/lib/Demangle/RustDemangle.cpp
enum PrefixKind
Name Value
None 0
REX 1
REX2 2
XOP 3
VEX2 4
VEX3 5
EVEX 6
Defined at line 41 of file llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
enum EnumClass
Name Value
Val 0
Defined at line 41 of file llvm/unittests/ADT/DenseMapTest.cpp
enum RegDomain
Name Value
NoDomain -1
GPRDomain 0
MaskDomain 1
OtherDomain 2
NumDomains 3
Defined at line 42 of file llvm/lib/Target/X86/X86DomainReassignment.cpp
enum PassDebugLevel
Name Value
Disabled 0
Arguments 1
Structure 2
Executions 3
Details 4
Defined at line 45 of file llvm/lib/IR/LegacyPassManager.cpp
enum FileFormat
Name Value
IFS 0
ELF 1
TBD 2
Defined at line 50 of file llvm/tools/llvm-ifs/llvm-ifs.cpp
enum TestEnumeration
Name Value
TE_Foo 42
TE_Bar 43
Defined at line 54 of file llvm/unittests/ADT/HashingTest.cpp
enum Level
Name Value
Locations 0
LocationsAndVariables 1
Defined at line 55 of file llvm/lib/Transforms/Utils/Debugify.cpp
enum CommandKind
Name Value
Invalid 0
Dump 1
CatNodeData 2
MakeBlob 3
MakeNode 4
ListObjectReferences 5
Import 6
PutCacheKey 7
GetCacheResult 8
Validate 9
ValidateObject 10
ValidateIfNeeded 11
Prune 12
Defined at line 57 of file llvm/tools/llvm-cas/llvm-cas.cpp
enum AuxiliaryType
Name Value
ATWeakExternal 0
ATFile 1
ATSectionDefinition 2
Defined at line 59 of file llvm/lib/MC/WinCOFFObjectWriter.cpp
enum MockInstrId
Name Value
Copy 0
Load 1
Store 2
LoadStore 3
CheapRemat 4
ExpensiveRemat 5
Dbg 6
InlAsm 7
Kill 8
TotalMockInstrs 9
Defined at line 63 of file llvm/unittests/CodeGen/RegAllocScoreTest.cpp
enum IsInType
Name Value
No 0
Yes 1
Defined at line 64 of file llvm/lib/Demangle/RustDemangle.cpp
enum ValueRange
Name Value
VALRNG_KNOWN_SHORT 0
VALRNG_UNKNOWN 1
VALRNG_LIKELY_LONG 2
Defined at line 64 of file llvm/lib/Transforms/Utils/BypassSlowDivision.cpp
enum FunctionState
Name Value
InProlog 0
HasProlog 1
InEpilog 2
FinishedEpilog 3
Defined at line 65 of file llvm/lib/Target/X86/X86WinEHUnwindV2.cpp
enum LipoID
Name Value
LIPO_INVALID 0
Defined at line 67 of file llvm/tools/llvm-lipo/llvm-lipo.cpp
enum LeaveGenericsOpen
Name Value
No 0
Yes 1
Defined at line 69 of file llvm/lib/Demangle/RustDemangle.cpp
enum InstallNameToolID
Name Value
INSTALL_NAME_TOOL_INVALID 0
Defined at line 69 of file llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
enum OutputFormatTy
Name Value
berkeley 0
sysv 1
darwin 2
Defined at line 70 of file llvm/tools/llvm-size/llvm-size.cpp
enum RadixTy
Name Value
octal 8
decimal 10
hexadecimal 16
Defined at line 71 of file llvm/tools/llvm-size/llvm-size.cpp
enum ConversionType
Name Value
UTF8ToIBM1047 0
IBM1047ToUTF8 1
Defined at line 72 of file llvm/lib/Support/TextEncoding.cpp
enum ProfileKinds
Name Value
instr 0
sample 1
memory 2
Defined at line 80 of file llvm/tools/llvm-profdata/llvm-profdata.cpp
enum FailureMode
Name Value
warnOnly 0
failIfAnyAreInvalid 1
failIfAllAreInvalid 2
Defined at line 81 of file llvm/tools/llvm-profdata/llvm-profdata.cpp
enum Windres_ID
Name Value
WINDRES_INVALID 0
Defined at line 83 of file llvm/tools/llvm-rc/llvm-rc.cpp
enum ProfileFormat
Name Value
PF_None 0
PF_Text 1
PF_Compact_Binary 2
PF_Ext_Binary 3
PF_GCC 4
PF_Binary 5
Defined at line 83 of file llvm/tools/llvm-profdata/llvm-profdata.cpp
enum RuleTy
Name Value
PerLoopCacheAnalysis 0
PerInstrOrderCost 1
ForVectorization 2
Ignore 3
Defined at line 85 of file llvm/lib/Transforms/Scalar/LoopInterchange.cpp
enum SparseLevel
Name Value
Dense 0
SpecialValuesWithAllPowerOfTwos 1
SpecialValuesOnly 2
Defined at line 86 of file llvm/unittests/IR/ConstantFPRangeTest.cpp
enum SortSymbolKeyTy
Name Value
NAME 0
TYPE 1
UNKNOWN 100
Defined at line 86 of file llvm/tools/llvm-readobj/llvm-readobj.cpp
enum OffsetKind
Name Value
kFixed 0
kGlobal 1
kIfunc 2
kTls 3
Defined at line 89 of file llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
enum BitModeTy
Name Value
Bit32 0
Bit64 1
Bit32_64 2
Any 3
Defined at line 92 of file llvm/tools/llvm-nm/llvm-nm.cpp
enum ShowFormat
Name Value
Text 0
Json 1
Yaml 2
Defined at line 92 of file llvm/tools/llvm-profdata/llvm-profdata.cpp
enum ActionType
Name Value
CoveredFunctionsAction 0
DiffAction 1
HtmlReportAction 2
MergeAction 3
NotCoveredFunctionsAction 4
PrintAction 5
PrintCovPointsAction 6
StatsAction 7
SymbolizeAction 8
UnionAction 9
Defined at line 93 of file llvm/tools/sancov/sancov.cpp
enum JITKind
Name Value
MCJIT 0
Orc 1
OrcLazy 2
Defined at line 95 of file llvm/tools/lli/lli.cpp
enum JITLinkerKind
Name Value
Default 0
RuntimeDyld 1
JITLink 2
Defined at line 96 of file llvm/tools/lli/lli.cpp
enum LipoAction
Name Value
PrintArchs 0
PrintInfo 1
VerifyArch 2
ThinArch 3
ExtractArch 4
CreateUniversal 5
ReplaceArch 6
Defined at line 98 of file llvm/tools/llvm-lipo/llvm-lipo.cpp
enum BitcodeStripID
Name Value
BITCODE_STRIP_INVALID 0
Defined at line 102 of file llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
enum 
Name Value
SWITCH_INST_MAGIC 0x4B5
Defined at line 106 of file llvm/lib/Bitcode/Reader/BitcodeReader.cpp
enum FieldType
Name Value
FT_INTEGRAL 0
FT_REAL 1
FT_STRUCT 2
Defined at line 113 of file llvm/lib/MC/MCParser/MasmParser.cpp
enum TBDKey
Name Value
TBDVersion 0U
MainLibrary 1
Documents 2
TargetInfo 3
Targets 4
Target 5
Deployment 6
Flags 7
Attributes 8
InstallName 9
CurrentVersion 10
CompatibilityVersion 11
Version 12
SwiftABI 13
ABI 14
ParentUmbrella 15
Umbrella 16
AllowableClients 17
Clients 18
ReexportLibs 19
Names 20
Name 21
Exports 22
Reexports 23
Undefineds 24
Data 25
Text 26
Weak 27
ThreadLocal 28
Globals 29
ObjCClass 30
ObjCEHType 31
ObjCIvar 32
RPath 33
Paths 34
Defined at line 113 of file llvm/lib/TextAPI/TextStubV5.cpp
enum HoistResult
Name Value
NotHoisted 1
Hoisted 2
ErasedMI 4
Defined at line 117 of file llvm/lib/CodeGen/MachineLICM.cpp
enum DependenceTestType
Name Value
All 0
StrongSIV 1
WeakCrossingSIV 2
ExactSIV 3
WeakZeroSIV 4
ExactRDIV 5
SymbolicRDIV 6
GCDMIV 7
BanerjeeMIV 8
Defined at line 117 of file llvm/lib/Analysis/DependenceAnalysis.cpp
enum Radix
Name Value
d 0
o 1
x 2
Defined at line 122 of file llvm/tools/llvm-nm/llvm-nm.cpp
enum ErrorDetailLevel
Name Value
OnlyDetailsNoSummary 0
NoDetailsOnlySummary 1
NoDetailsOrSummary 2
BothDetailsAndSummary 3
Unspecified 4
Defined at line 130 of file llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
enum 
Name Value
VST_ENTRY_8_ABBREV bitc::FIRST_APPLICATION_ABBREV
VST_ENTRY_7_ABBREV 5
VST_ENTRY_6_ABBREV 6
VST_BBENTRY_6_ABBREV 7
CONSTANTS_SETTYPE_ABBREV bitc::FIRST_APPLICATION_ABBREV
CONSTANTS_INTEGER_ABBREV 5
CONSTANTS_CE_CAST_Abbrev 6
CONSTANTS_NULL_Abbrev 7
FUNCTION_INST_LOAD_ABBREV bitc::FIRST_APPLICATION_ABBREV
FUNCTION_INST_STORE_ABBREV 5
FUNCTION_INST_UNOP_ABBREV 6
FUNCTION_INST_UNOP_FLAGS_ABBREV 7
FUNCTION_INST_BINOP_ABBREV 8
FUNCTION_INST_BINOP_FLAGS_ABBREV 9
FUNCTION_INST_CAST_ABBREV 10
FUNCTION_INST_CAST_FLAGS_ABBREV 11
FUNCTION_INST_RET_VOID_ABBREV 12
FUNCTION_INST_RET_VAL_ABBREV 13
FUNCTION_INST_BR_UNCOND_ABBREV 14
FUNCTION_INST_BR_COND_ABBREV 15
FUNCTION_INST_UNREACHABLE_ABBREV 16
FUNCTION_INST_GEP_ABBREV 17
FUNCTION_INST_CMP_ABBREV 18
FUNCTION_INST_CMP_FLAGS_ABBREV 19
FUNCTION_DEBUG_RECORD_VALUE_ABBREV 20
FUNCTION_DEBUG_LOC_ABBREV 21
Defined at line 133 of file llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
enum StripID
Name Value
STRIP_INVALID 0
Defined at line 135 of file llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
enum 
Name Value
DOSStubSize 128
Defined at line 145 of file llvm/lib/ObjectYAML/COFFEmitter.cpp
enum OtoolOptID
Name Value
OTOOL_INVALID 0
Defined at line 145 of file llvm/tools/llvm-objdump/llvm-objdump.cpp
enum MipsABI
Name Value
Unknown 0
O32 1
N32 2
N64 3
Defined at line 154 of file llvm/lib/TargetParser/TargetDataLayout.cpp
enum MergeTypeT
Name Value
X_Y 0
Y_X 1
X1_Y_X2 2
Y_X2_X1 3
X2_X1_Y 4
Defined at line 177 of file llvm/lib/Transforms/Utils/CodeLayout.cpp
enum FlagsClass
Name Value
F0 0
F1 1
F2 2
F3 4
LLVM_BITMASK_LARGEST_ENUMERATOR F3
Defined at line 190 of file llvm/unittests/ADT/BitmaskEnumTest.cpp
enum UntypedEnum
Name Value
A 3
Defined at line 212 of file llvm/unittests/ADT/SequenceTest.cpp
enum FTValueType
Name Value
kFloat 0
kDouble 1
kLongDouble 2
kNumValueTypes 3
Defined at line 213 of file llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
enum Format
Name Value
Rc 0
Res 1
Coff 2
Unknown 3
Defined at line 213 of file llvm/tools/llvm-rc/llvm-rc.cpp
enum TypedEnum
Name Value
B 3
Defined at line 213 of file llvm/unittests/ADT/SequenceTest.cpp
enum FeatureIDs
Name Value
mask 0
is_free 1
nr_urgent 2
nr_broken_hints 3
is_hint 4
is_local 5
nr_rematerializable 6
nr_defs_and_uses 7
weighed_reads_by_max 8
weighed_writes_by_max 9
weighed_read_writes_by_max 10
weighed_indvars_by_max 11
hint_weights_by_max 12
start_bb_freq_by_max 13
end_bb_freq_by_max 14
hottest_bb_freq_by_max 15
liverange_size 16
use_def_density 17
max_stage 18
min_stage 19
progress 20
FeatureCount 21
Defined at line 213 of file llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
enum OverwriteResult
Name Value
OW_Begin 0
OW_Complete 1
OW_End 2
OW_PartialEarlierWithFullLater 3
OW_MaybePartial 4
OW_None 5
OW_Unknown 6
Defined at line 230 of file llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
enum SCEVMonotonicityType
Name Value
Unknown 0
Invariant 1
MultivariateSignedMonotonic 2
Defined at line 257 of file llvm/lib/Analysis/DependenceAnalysis.cpp
enum bitAttr_t
Name Value
ATTR_NONE 0
ATTR_FILTERED 1
ATTR_ALL_SET 2
ATTR_ALL_UNSET 3
ATTR_MIXED 4
Defined at line 259 of file llvm/utils/TableGen/DecoderEmitter.cpp
enum FragCalcResult
Name Value
UseFrag 0
UseNoFrag 1
Skip 2
Defined at line 275 of file llvm/lib/Transforms/Scalar/SROA.cpp
enum ExtType
Name Value
ZeroExtension 0
SignExtension 1
BothExtension 2
Defined at line 280 of file llvm/lib/CodeGen/CodeGenPrepare.cpp
enum ModifyDT
Name Value
NotModifyDT 0
ModifyBBDT 1
ModifyInstDT 2
Defined at line 289 of file llvm/lib/CodeGen/CodeGenPrepare.cpp
enum FileDifference
Name Value
IdenticalFile 0
SameContents 1
DifferentContents 2
Defined at line 383 of file llvm/lib/Support/VirtualOutputBackends.cpp
enum ToolType
Name Value
Objcopy 0
Strip 1
InstallNameTool 2
BitcodeStrip 3
Defined at line 421 of file llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
enum OpenMPOffloadingRequiresDirFlags
Name Value
OMP_REQ_UNDEFINED 0x000
OMP_REQ_NONE 0x001
OMP_REQ_REVERSE_OFFLOAD 0x002
OMP_REQ_UNIFIED_ADDRESS 0x004
OMP_REQ_UNIFIED_SHARED_MEMORY 0x008
OMP_REQ_DYNAMIC_ALLOCATORS 0x010
LLVM_BITMASK_LARGEST_ENUMERATOR OMP_REQ_DYNAMIC_ALLOCATORS
Defined at line 441 of file llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
enum VisitMode
Name Value
VM_counting 0
VM_instrument 1
VM_annotate 2
Defined at line 491 of file llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
enum PointerStripKind
Name Value
PSK_ZeroIndices 0
PSK_ZeroIndicesAndAliases 1
PSK_ZeroIndicesSameRepresentation 2
PSK_ForAliasAnalysis 3
PSK_InBoundsConstantIndices 4
PSK_InBounds 5
Defined at line 624 of file llvm/lib/IR/Value.cpp
enum ValueProfilingCallType
Name Value
Default 0
MemOp 1
Defined at line 657 of file llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
enum FooStrategy
Name Value
Aggressive 0
Conservative 1
Defined at line 659 of file llvm/unittests/Support/ErrorTest.cpp
enum UseMask
Name Value
FirstArg 0
SecondArg 1
UndefsAsMask 2
Defined at line 679 of file llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
enum OvfKind
Name Value
MinSat 0
MaxSat 1
Defined at line 729 of file llvm/unittests/ADT/APFixedPointTest.cpp
enum Base
Name Value
First 0
Defined at line 787 of file llvm/unittests/Support/FormatVariadicTest.cpp
enum EmplaceableArgState
Name Value
EAS_Defaulted 0
EAS_Arg 1
EAS_LValue 2
EAS_RValue 3
EAS_Failure 4
Defined at line 978 of file llvm/unittests/ADT/SmallVectorTest.cpp
enum EmplaceableState
Name Value
ES_Emplaced 0
ES_Moved 1
Defined at line 1000 of file llvm/unittests/ADT/SmallVectorTest.cpp
enum test_error_code
Name Value
unspecified 1
error_1 2
error_2 3
Defined at line 1019 of file llvm/unittests/Support/ErrorTest.cpp
enum Doggos
Name Value
Floofer 0
Woofer 1
SubWoofer 2
Pupper 3
Pupperino 4
Longboi 5
Defined at line 1458 of file llvm/unittests/ADT/STLExtrasTest.cpp
enum UndefPoisonKind
Name Value
PoisonOnly (1 << 0)
UndefOnly (1 << 1)
UndefOrPoison PoisonOnly | UndefOnly
Defined at line 1838 of file llvm/lib/CodeGen/GlobalISel/Utils.cpp
enum MatchStatus
Name Value
MS_Match 0
MS_FirstUnique 1
MS_SecondUnique 2
MS_None 3
Defined at line 1895 of file llvm/tools/llvm-profdata/llvm-profdata.cpp
enum Enum
Name Value
Val1 0
Val2 1
Defined at line 2070 of file llvm/unittests/Support/CommandLineTest.cpp

Inner Classes

Functions

  • InlineAdvisor * DefaultAdvisorFactory (Module & M, FunctionAnalysisManager & FAM, InlineParams Params, InlineContext IC)

    Defined at line 15 of file llvm/unittests/Analysis/InlineAdvisorPlugin/InlineAdvisorPlugin.cpp

  • vector loadOrder (const AllocationOrder & O, unsigned int Limit)

    Defined at line 15 of file llvm/unittests/CodeGen/AllocationOrderTest.cpp

  • template <typename Fn>
    void EnumerateAPInts (unsigned int Bits, Fn TestFn)

    Defined at line 17 of file llvm/unittests/Support/DivisionByConstantTest.cpp

  • template <typename FormatTy>
    basic_string printToString (unsigned int MaxN, FormatTy && Fmt)

    Defined at line 17 of file llvm/unittests/Support/Format.cpp

  • template <typename T>
    basic_string format_number (T N, IntegerStyle Style)

    Defined at line 17 of file llvm/unittests/Support/NativeFormatTests.cpp

  • bool operator< (const Node & L, const Node & R)

    Defined at line 18 of file llvm/unittests/ADT/SimpleIListTest.cpp

  • ErrorOr t1 ()

    Defined at line 18 of file llvm/unittests/Support/ErrorOrTest.cpp

  • MachineInstr & findEquivalentInstruction (MachineInstr & MI, MachineBasicBlock * BB)

    MI's parent and BB are clones of each other. Find the equivalent copy of MI

    in BB.

    Defined at line 18 of file llvm/lib/CodeGen/MachineLoopUtils.cpp

  • basic_string writeOutput (const RewriteBuffer & Buf)

    Defined at line 18 of file llvm/unittests/ADT/RewriteBufferTest.cpp

  • unique_ptr makeLLVMIndex (const char * Summary)

    Defined at line 18 of file llvm/unittests/IR/ModuleSummaryIndexTest.cpp

  • template <typename Ty>
    void canSpecializeGraphTraitsIterators (Ty * G)

    Defined at line 18 of file llvm/unittests/Analysis/CallGraphTest.cpp

  • bool makeFalse (const Node & , const Node & )

    Defined at line 19 of file llvm/unittests/ADT/SimpleIListTest.cpp

  • ErrorOr t2 ()

    Defined at line 19 of file llvm/unittests/Support/ErrorOrTest.cpp

  • basic_string repr (const Twine & Value)

    Defined at line 19 of file llvm/unittests/ADT/TwineTest.cpp

  • void checkMMRA (const MMRAMetadata & MMRA, ArrayRef Expected)

    Defined at line 19 of file llvm/unittests/IR/MemoryModelRelaxationAnnotationsTest.cpp

  • bool runBye (Function & F)

    Defined at line 19 of file llvm/examples/Bye/Bye.cpp

  • unique_ptr parseIR (LLVMContext & C, const char * IR)

    Defined at line 19 of file llvm/unittests/IR/FunctionTest.cpp

  • void initLLVM ()

    Defined at line 19 of file llvm/unittests/CodeGen/TargetOptionsTest.cpp

  • bool elementsMatch (const UBitVec & BV, initializer_list List)

    Defined at line 19 of file llvm/unittests/ADT/CoalescingBitVectorTest.cpp

  • void populateYAML (OffloadYAML::Binary & YAMLBinary, object::OffloadBinary & OB, UniqueStringSaver Saver)

    Defined at line 19 of file llvm/tools/obj2yaml/offload2yaml.cpp

  • template <typename Fn1, typename Fn2>
    void TestBinOpExhaustive (Fn1 PropagateFn, Fn2 EvalFn)

    Defined at line 19 of file llvm/unittests/IR/DemandedBitsTest.cpp

  • template <, >
    pairMatcherP2<first_matcher_type, second_matcher_type> pair (first_matcher_type gmock_p0, second_matcher_type gmock_p1)

    Defined at line 20 of file llvm/unittests/Testing/Annotations/AnnotationsTest.cpp

  • Expected reserve (MemoryMapper & M, size_t NumBytes)

    Defined at line 21 of file llvm/unittests/ExecutionEngine/Orc/MemoryMapperTest.cpp

  • unique_ptr parseIR (LLVMContext & C, const char * IR)

    Defined at line 21 of file llvm/unittests/IR/GlobalObjectTest.cpp

  • unique_ptr makeSpecialCaseList (StringRef List)

    Defined at line 21 of file llvm/benchmarks/SpecialCaseListBM.cpp

  • void constructValidGOFF (size_t Size)

    Defined at line 21 of file llvm/unittests/Object/GOFFObjectFileTest.cpp

  • bool hasUnixSocketSupport ()

    Defined at line 21 of file llvm/unittests/Support/raw_socket_stream_test.cpp

  • void doNothing (Node * )

    Defined at line 22 of file llvm/unittests/ADT/SimpleIListTest.cpp

  • FixedPointSemantics Saturated (FixedPointSemantics Sema)

    Defined at line 22 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • template <typename WriteT, typename SPSWriteT>
     testWriteUInts (const char * ArgData, size_t ArgSize)

    Defined at line 22 of file llvm/unittests/ExecutionEngine/Orc/EPCGenericMemoryAccessTest.cpp

  •  incrementWrapper (const char * ArgData, size_t ArgSize)

    Defined at line 22 of file llvm/unittests/ExecutionEngine/Orc/SimpleExecutorMemoryManagerTest.cpp

  • void TestMD5Sum (ArrayRef Input, StringRef Final)

    Tests an arbitrary set of bytes passed as

    Defined at line 22 of file llvm/unittests/Support/MD5Test.cpp

  • AssertionResult isNullMIPtr (const MachineInstr * MI)

    Defined at line 22 of file llvm/unittests/CodeGen/GlobalISel/LegalizerTest.cpp

  • template <typename FnTy>
    void ForeachKnownBits (unsigned int Bits, FnTy Fn)

    Defined at line 22 of file llvm/unittests/Support/KnownBitsTest.h

  • basic_string FormatExtensionFlags (uint64_t Flags)

    Defined at line 22 of file llvm/unittests/TargetParser/CSKYTargetParserTest.cpp

  • basic_string toHex (ArrayRef Input)

    Defined at line 22 of file llvm/unittests/Support/SHA256.cpp

  • void TestBase64 (StringRef Input, StringRef Final)

    Tests an arbitrary set of bytes passed as

    Defined at line 23 of file llvm/unittests/Support/Base64Test.cpp

  • bool areFdsValid (int ReadFD, int WriteFD)

    Returns true if the given file descriptors are valid.

    Defined at line 23 of file llvm/lib/Support/Unix/Jobserver.inc

  • StringRef bufferize (SourceMgr & SM, StringRef Str)

    Defined at line 23 of file llvm/unittests/FileCheck/FileCheckTest.cpp

  • void TestBLAKE3Sum (ArrayRef Input, StringRef Final)

    Tests an arbitrary set of bytes passed as

    Defined at line 23 of file llvm/unittests/Support/BLAKE3Test.cpp

  • void extractCounters (const std::vector<std::pair<StringRef, uint64_t>> & Range, OptionalStatistic & S1, OptionalStatistic & S2)

    Defined at line 23 of file llvm/unittests/ADT/StatisticTest.cpp

  • bool hasInitializerSection (LinkGraph & G)

    Defined at line 23 of file llvm/lib/ExecutionEngine/Orc/LinkGraphLayer.cpp

  • bool isThreadingSupportedArchAndOS ()

    Defined at line 23 of file llvm/unittests/Support/Threading.cpp

  • void SleepMS ()

    FIXME: Put this somewhere in Support, it's also used in LockFileManager.

    Defined at line 23 of file llvm/unittests/Support/TimerTest.cpp

  • SmallVector<const BasicBlock *, 8> findBBwithCalls (const Function & F, bool IndirectCall)

    Defined at line 23 of file llvm/lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp

  • bool unifyUnreachableBlocks (Function & F)

    Defined at line 23 of file llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp

  • void setupProfiler ()

    Defined at line 24 of file llvm/unittests/Support/TimeProfilerTest.cpp

  • bool isFalsey (const json::Value & V)

    Defined at line 24 of file llvm/lib/Support/Mustache.cpp

  • APInt MULHS (APInt X, APInt Y)

    Defined at line 24 of file llvm/unittests/Support/DivisionByConstantTest.cpp

  • Matcher isNode (StringRef Text, StringRef Tag, Matcher Fields)

    Defined at line 24 of file llvm/unittests/DebugInfo/Symbolizer/MarkupTest.cpp

  • basic_string format_number (uint64_t N, HexPrintStyle Style, optional Width)

    Defined at line 24 of file llvm/unittests/Support/NativeFormatTests.cpp

  • template <typename... Ts>
    Error error (const char * Fmt, const Ts &... Vals)

    Defined at line 24 of file llvm/lib/Remarks/BitstreamRemarkParser.cpp

  • Error checkModuleSignature (llvm::BitstreamCursor & cursor, ArrayRef signature)

    Defined at line 24 of file llvm/tools/dsymutil/SwiftModule.cpp

  • CIE createCIE (bool IsDWARF64, uint64_t Offset, uint64_t Length)

    Defined at line 24 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugFrameTest.cpp

  • ExecutorAddr getJITSymbolPtrForSymbol (Symbol & Sym, const Triple & TT)

    Defined at line 24 of file llvm/lib/ExecutionEngine/Orc/LinkGraphLinkingLayer.cpp

  • bool isFormClass (Form Form, FormClass FC)

    Defined at line 25 of file llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

  • template <typename Expected, typename Arg>
    bool checkDecayTypeEq (const Arg & arg)

    Defined at line 25 of file llvm/unittests/Support/Format.cpp

  • int parseIR (LLVMContext & Context, const char * IR)

    Defined at line 25 of file llvm/unittests/CodeGen/GCMetadata.cpp

  • int parseIR (LLVMContext & C, const char * IR)

    Defined at line 25 of file llvm/unittests/Analysis/ReplaceWithVecLibTest.cpp

  • template <typename T>
    basic_string printToString (const T & Value)

    Defined at line 25 of file llvm/unittests/Support/raw_ostream_test.cpp

  • void tagRange (unsigned int Offset, unsigned int Len, StringRef tagName, RewriteBuffer & Buf)

    Defined at line 25 of file llvm/unittests/ADT/RewriteBufferTest.cpp

  • bool sortByName (const GlobalVariable & L, const GlobalVariable & R)

    Defined at line 26 of file llvm/unittests/IR/ModuleTest.cpp

  • CallBase * getCallInFunction (Function * F)

    Defined at line 26 of file llvm/unittests/Analysis/InlineCostTest.cpp

  • MMRAMetadata createFromMD (LLVMContext & Ctx, ArrayRef Expected)

    Defined at line 26 of file llvm/unittests/IR/MemoryModelRelaxationAnnotationsTest.cpp

  • int parseAssembly (LLVMContext & Context, const char * Assembly)

    Defined at line 26 of file llvm/unittests/Analysis/LazyCallGraphTest.cpp

  • void testZlibCompression (StringRef Input, int Level)

    Defined at line 26 of file llvm/unittests/Support/CompressionTest.cpp

  • template <typename ELFT>
    ArrayRef getBuildID (const ELFFile<ELFT> & Obj)

    Defined at line 26 of file llvm/lib/Object/BuildID.cpp

  • bool testSetProcessAllSections (unique_ptr Obj, bool ProcessAllSections)

    Returns whether a non-alloc section was passed to the memory manager.

    Defined at line 26 of file llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp

  • uint32_t getTestKey (int i, uint32_t * )

    Defined at line 27 of file llvm/unittests/ADT/DenseMapTest.cpp

  • FixedPointSemantics getSAccumSema ()

    Defined at line 27 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • BasicBlock * getBBWithName (Function * F, StringRef Name)

    Defined at line 27 of file llvm/unittests/IR/FunctionTest.cpp

  • unique_ptr parseIR (LLVMContext & Context, const char * IR)

    Defined at line 27 of file llvm/unittests/IR/StructuralHashTest.cpp

  • basic_string escape (StringRef Str, const CoverageViewOptions & Opts)

    Return a string with the special characters in

    escaped.

    Defined at line 27 of file llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp

  • uint32_t getTestValue (int i, uint32_t * )

    Defined at line 28 of file llvm/unittests/ADT/DenseMapTest.cpp

  • Plugins & getPlugins ()

    Defined at line 28 of file llvm/lib/Support/PluginLoader.cpp

  • BasicBlock * getBlockByName (Function * F, StringRef name)

    Defined at line 28 of file llvm/unittests/Transforms/Utils/CodeExtractorTest.cpp

  • Expected initialize (MemoryMapper & M, MemoryMapper::AllocInfo & AI)

    Defined at line 28 of file llvm/unittests/ExecutionEngine/Orc/MemoryMapperTest.cpp

  • basic_string teardownProfiler ()

    Defined at line 28 of file llvm/unittests/Support/TimeProfilerTest.cpp

  • void concat (const ImmutableList<Wrapper<char>> & L, char * Buffer)

    Defined at line 28 of file llvm/unittests/ADT/ImmutableListTest.cpp

  • template <typename T, typename F>
    int checkedOp (T LHS, T RHS, F Op, bool Signed)

    Utility function to apply a given method of

    to

    and

    Returns

    Empty optional if the operation overflows, or result otherwise.

    Defined at line 28 of file llvm/include/llvm/Support/CheckedArithmetic.h

  • template <typename T, typename F>
    std::enable_if_t<std::is_integral_v<T> && sizeof(T) * 8 <= 64, std::optional<T>> checkedOp (T LHS, T RHS, F Op, bool Signed)

    Utility function to apply a given method of

    to

    and

    Returns

    Empty optional if the operation overflows, or result otherwise.

    Defined at line 28 of file llvm/include/llvm/Support/CheckedArithmetic.h

  • void TestBase64Decode (StringRef Input, StringRef Expected, StringRef ExpectedErrorMessage)

    Defined at line 28 of file llvm/unittests/Support/Base64Test.cpp

  • template <class UIntT>
    bool operator== (const std::pair<UIntT, int16_t> & L, const ScaledPair<UIntT> & R)

    Defined at line 29 of file llvm/unittests/Support/ScaledNumberTest.cpp

  • bool isContextFalsey (const json::Value * V)

    Defined at line 29 of file llvm/lib/Support/Mustache.cpp

  • Range range (size_t Begin, size_t End)

    Defined at line 29 of file llvm/unittests/Testing/Annotations/AnnotationsTest.cpp

  • Error buildTables_ELF_x86 (LinkGraph & G)

    Defined at line 29 of file llvm/lib/ExecutionEngine/JITLink/ELF_x86.cpp

  • template <size_t SecSize>
    void ExpectExtractError (const char (&)[SecSize] SecDataRaw, const char * ErrorMessage)

    Defined at line 29 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugArangeSetTest.cpp

  • bool IsMPROTECT ()

    Defined at line 29 of file llvm/unittests/Support/MemoryTest.cpp

  • bool expandReductions (Function & F, const TargetTransformInfo * TTI)

    Defined at line 29 of file llvm/lib/CodeGen/ExpandReductions.cpp

  • bool sortByNameReverse (const GlobalVariable & L, const GlobalVariable & R)

    Defined at line 30 of file llvm/unittests/IR/ModuleTest.cpp

  • uint32_t * getTestKey (int i, uint32_t ** )

    Defined at line 30 of file llvm/unittests/ADT/DenseMapTest.cpp

  • const char * getLoadCommandName (uint32_t cmd)

    Defined at line 30 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • void initLLVM ()

    Defined at line 30 of file llvm/unittests/MI/LiveIntervalTest.cpp

  • error_code CreateFileWithContent (const SmallString<128> & FilePath, const StringRef & content)

    Defined at line 30 of file llvm/unittests/Support/ReplaceFileTest.cpp

  • void constructInvalidGOFF (size_t Size)

    Defined at line 30 of file llvm/unittests/Object/GOFFObjectFileTest.cpp

  • unique_ptr parseAssembly (LLVMContext & Context, const char * Assembly)

    Defined at line 30 of file llvm/unittests/Bitcode/BitReaderTest.cpp

  • APInt SignedDivideUsingMagic (APInt Numerator, APInt Divisor, SignedDivisionByConstantInfo Magics)

    Defined at line 30 of file llvm/unittests/Support/DivisionByConstantTest.cpp

  • Expected createX64EHFrameHeader (Section & EHFrame, endianness endianness, bool absolute)

    Creates an EH frame header prepared for a 32-bit relative relocation

    to the start of the .eh_frame section. Absolute injects a 64-bit absolute

    address space offset 4 bytes from the start instead of 4 bytes

    Defined at line 30 of file llvm/lib/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const Atom & A)

    Defined at line 31 of file llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp

  • int createTargetMachine ()

    Defined at line 31 of file llvm/unittests/Target/X86/MachineSizeOptsTest.cpp

  • template <typename SPSSerializer, typename... ArgTs>
    SmallVector getArgDataBufferType (const ArgTs &... Args)

    Defined at line 31 of file llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp

  • basic_string toString (const std::unordered_set<std::string> & Set)

    Defined at line 31 of file llvm/unittests/FileCheck/FileCheckTest.cpp

  • SmallVector simplifyChunksList (ArrayRef Chunks)

    Defined at line 31 of file llvm/tools/reduce-chunk-list/reduce-chunk-list.cpp

  • bool isJSONSchemaBoolLiteral (StringRef S)

    Defined at line 32 of file llvm/lib/BinaryFormat/MsgPackDocumentYAML.cpp

  • template <typename Fn>
    void EnumerateAPInts (unsigned int Bits, Fn TestFn)

    Defined at line 32 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • basic_string format_number (double D, FloatStyle Style, optional Precision)

    Defined at line 32 of file llvm/unittests/Support/NativeFormatTests.cpp

  •  testWritePointers (const char * ArgData, size_t ArgSize)

    Defined at line 32 of file llvm/unittests/ExecutionEngine/Orc/EPCGenericMemoryAccessTest.cpp

  • void TestMD5Sum (StringRef Input, StringRef Final)

    Defined at line 32 of file llvm/unittests/Support/MD5Test.cpp

  • int VTSeqs (int )

    Build a shared array of value types.

    Defined at line of file

  • unique_ptr createTargetMachine (bool EnableIPRA)

    Create a TargetMachine. We need a target that doesn't have IPRA enabled by

    default. That turns out to be all targets at the moment, so just use X86.

    Defined at line 32 of file llvm/unittests/CodeGen/TargetOptionsTest.cpp

  • unique_ptr createInjectorMutator ()

    Defined at line 32 of file llvm/unittests/FuzzMutate/StrategiesTest.cpp

  • bool applyDebugifyMetadataToMachineFunction (MachineModuleInfo & MMI, DIBuilder & DIB, Function & F)

    Defined at line 32 of file llvm/lib/CodeGen/MachineDebugify.cpp

  • bool shouldKeepBundleTag (uint32_t BundleTagID)

    Return true if stripping the bundle from a call will result in invalid IR.

    Defined at line 33 of file llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp

  • FixedPointSemantics getAccumSema ()

    Defined at line 33 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • int createTargetMachine (basic_string TargetStr, StringRef CPU, StringRef FS)

    Defined at line 33 of file llvm/unittests/CodeGen/DroppedVariableStatsMIRTest.cpp

  • vector ToDomUpdates (CFGBuilder & B, std::vector<CFGBuilder::Update> & In)

    Defined at line 33 of file llvm/unittests/IR/DominatorTreeBatchUpdatesTest.cpp

  • unique_ptr parseAssembly (const char * Assembly, LLVMContext & Context)

    Defined at line 33 of file llvm/unittests/FuzzMutate/RandomIRBuilderTest.cpp

  • void preserveDWARFSection (LinkGraph & G, Section & Sec)

    We might be able to drop relocations to symbols that do end up

    being pruned by the linker, but for now we just preserve all

    Defined at line 33 of file llvm/lib/ExecutionEngine/Orc/Debugging/DebugInfoSupport.cpp

  • bool IsItemExcluded (StringRef Item, std::list<llvm::Regex> & IncludeFilters, std::list<llvm::Regex> & ExcludeFilters)

    Defined at line 33 of file llvm/lib/DebugInfo/PDB/Native/LinePrinter.cpp

  • bool AlwaysInlineImpl (Module & M, bool InsertLifetime, ProfileSummaryInfo & PSI, FunctionAnalysisManager * FAM, function_ref<AssumptionCache &(Function &)> GetAssumptionCache, function_ref<AAResults &(Function &)> GetAAR)

    Defined at line 33 of file llvm/lib/Transforms/IPO/AlwaysInliner.cpp

  • template <class UIntT>
    void PrintTo (const ScaledPair<UIntT> & F, ::std::ostream * os)

    Defined at line 34 of file llvm/unittests/Support/ScaledNumberTest.cpp

  • bool rangesMatch (iterator_range R, initializer_list List)

    Defined at line 34 of file llvm/unittests/ADT/CoalescingBitVectorTest.cpp

  • Instruction * findInstructionByNameOrNull (Function * F, StringRef Name)

    Defined at line 34 of file llvm/unittests/Analysis/ValueTrackingTest.cpp

  • unique_ptr parseModuleRaw (StringRef Source, StringRef Name, LLVMContext & Ctx)

    Defined at line 34 of file llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp

  • bool allowPromotionAlias (const std::string & Name)

    Determine if a promotion alias should be created for a symbol name.

    Defined at line 34 of file llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp

  • optional getInliningCostFeaturesForCall (CallBase & CB)

    Defined at line 34 of file llvm/unittests/Analysis/InlineCostTest.cpp

  • Error extractOffloadFiles (MemoryBufferRef Contents, SmallVectorImpl<OffloadFile> & Binaries)

    Attempts to extract all the embedded device images contained inside the

    buffer

    The buffer is expected to contain a valid offloading

    binary format.

    Defined at line 34 of file llvm/lib/Object/OffloadBinary.cpp

  • uint32_t * getTestValue (int i, uint32_t ** )

    Defined at line 35 of file llvm/unittests/ADT/DenseMapTest.cpp

  • Instruction * getInstByName (Function * F, StringRef Name)

    Defined at line 35 of file llvm/unittests/Transforms/Utils/CodeExtractorTest.cpp

  • AssertionResult AssertSameExtensionFlags (const char * m_expr, const char * n_expr, uint64_t ExpectedFlags, uint64_t GotFlags)

    Defined at line 35 of file llvm/unittests/TargetParser/CSKYTargetParserTest.cpp

  • template <typename FnTy>
    void ForeachNumInKnownBits (const KnownBits & Known, FnTy Fn)

    Defined at line 35 of file llvm/unittests/Support/KnownBitsTest.h

  • vector genFiles (size_t NumFiles)

    Defined at line 35 of file llvm/benchmarks/SpecialCaseListBM.cpp

  • int f (rank )

    Defined at line 36 of file llvm/unittests/ADT/STLExtrasTest.cpp

  • Error deinitialize (MemoryMapper & M, const std::vector<ExecutorAddr> & Allocations)

    Defined at line 36 of file llvm/unittests/ExecutionEngine/Orc/MemoryMapperTest.cpp

  • void splitAndTrim (StringRef Str, SmallVectorImpl<StringRef> & Tokens)

    Defined at line 36 of file llvm/lib/Support/Mustache.cpp

  • int f (rank )

    Defined at line 37 of file llvm/unittests/ADT/STLExtrasTest.cpp

  • unsigned int getHeader ()

    Defined at line 37 of file llvm/lib/DebugInfo/LogicalView/Core/LVCompare.cpp

  • void TestSHA256Sum (ArrayRef Input, StringRef Final)

    Tests an arbitrary set of bytes passed as

    Defined at line 37 of file llvm/unittests/Support/SHA256.cpp

  • set fixed_set (unsigned int N)

    Defined at line 37 of file llvm/unittests/ADT/DAGDeltaAlgorithmTest.cpp

  • LVScopeCompileUnit * getFirstCompileUnit (LVScopeRoot * Root)

    Helper function to get the first compile unit.

    Defined at line 37 of file llvm/unittests/DebugInfo/LogicalView/DWARFGeneratedTest.cpp

  • template <typename T>
    basic_string printToString (const T & Value, unsigned int BytesLeftInBuffer)

    printToString - Print the given value to a stream which only has

    Defined at line 37 of file llvm/unittests/Support/raw_ostream_test.cpp

  • Expected dump (MemoryBufferRef Source, UniqueStringSaver Saver)

    Defined at line 37 of file llvm/tools/obj2yaml/offload2yaml.cpp

  • void checkData (GuidData & Data)

    Defined at line 37 of file llvm/unittests/DebugInfo/CodeView/GUIDFormatTest.cpp

  • int f (rank )

    Defined at line 38 of file llvm/unittests/ADT/STLExtrasTest.cpp

  • template <typename TPoint, typename TItem, typename TValue>
    void checkItem (TPoint Point, TItem Item, TPoint Left, TPoint Right, TValue Value)

    Helper function to test a specific item or iterator.

    Defined at line 38 of file llvm/unittests/ADT/IntervalTreeTest.cpp

  • template <class T>
    void dumpClassParentWithScopeOperator (const T & Symbol, LinePrinter & Printer, FunctionDumper & Dumper)

    Defined at line 38 of file llvm/tools/llvm-pdbutil/PrettyFunctionDumper.cpp

  • int f (rank )

    Defined at line 39 of file llvm/unittests/ADT/STLExtrasTest.cpp

  • ErrorOr t3 ()

    Defined at line 39 of file llvm/unittests/Support/ErrorOrTest.cpp

  • FixedPointSemantics getLAccumSema ()

    Defined at line 39 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • int NoFooInlineOrderFactory (FunctionAnalysisManager & FAM, const InlineParams & Params, ModuleAnalysisManager & MAM, Module & M)

    Defined at line 39 of file llvm/unittests/Analysis/InlineOrderPlugin/InlineOrderPlugin.cpp

  • template <typename ValueType>
    raw_ostream & operator<< (raw_ostream & OS, const BinaryBeImpl<ValueType> & BBE)

    Defined at line 39 of file llvm/lib/ObjectYAML/GOFFEmitter.cpp

  • Error enterTopLevelModuleBlock (llvm::BitstreamCursor & cursor, unsigned int ID)

    Defined at line 39 of file llvm/tools/dsymutil/SwiftModule.cpp

  • unsigned int getExpected ()

    Defined at line 40 of file llvm/lib/DebugInfo/LogicalView/Core/LVCompare.cpp

  • int createMCContext (MCAsmInfo * AsmInfo)

    Defined at line 40 of file llvm/unittests/CodeGen/MachineInstrTest.cpp

  • LVScopeCompileUnit * getFirstCompileUnit (LVScopeRoot * Root)

    Helper function to get the first compile unit.

    Defined at line 40 of file llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp

  • template <typename Fn>
    void EnumerateConstantRanges (unsigned int Bits, Fn TestFn)

    Defined at line 40 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • Constant * canonicalizeAlias (Constant * C, bool & Changed)

    Defined at line 40 of file llvm/lib/Transforms/Utils/CanonicalizeAliases.cpp

  • StringEqualityMatcher StringEquality ()

    Defined at line 41 of file llvm/unittests/Support/CommandLineTest.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const ControlCondition & C)

    Defined at line 41 of file llvm/lib/Transforms/Utils/CodeMoverUtils.cpp

  • Style real_style (Style style)

    Defined at line 41 of file llvm/lib/Support/Path.cpp

  • void expectDumpResult (const dwarf::CIE & TestCIE, bool IsEH, StringRef ExpectedFirstLine)

    Defined at line 41 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugFrameTest.cpp

  • LVScope * getFirstScopeChild (LVScope * Parent)

    Helper function to get the first scope child from the given parent.

    Defined at line 41 of file llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp

  • void registerPassBuilderCallbacks (PassBuilder & PB)

    Defined at line 41 of file llvm/examples/Bye/Bye.cpp

  • unique_ptr createPlatformGraph (ELFNixPlatform & MOP, basic_string Name)

    Defined at line 42 of file llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp

  • Instruction & findInstructionByName (Function * F, StringRef Name)

    Defined at line 42 of file llvm/unittests/Analysis/ValueTrackingTest.cpp

  •  testWriteBuffers (const char * ArgData, size_t ArgSize)

    Defined at line 42 of file llvm/unittests/ExecutionEngine/Orc/EPCGenericMemoryAccessTest.cpp

  • void emitByte (uint8_t C, SmallVectorImpl<char> & CB)

    Defined at line 43 of file llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp

  • unsigned int getMissing ()

    Defined at line 43 of file llvm/lib/DebugInfo/LogicalView/Core/LVCompare.cpp

  • IntegerType * getSizeTTy (Module & M)

    Defined at line 43 of file llvm/lib/Frontend/Offloading/OffloadWrapper.cpp

  • bool operator== (PredicateWithCC LHS, PredicateWithCC RHS)

    Defined at line 43 of file llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp

  • EnumClass getTestKey (int i, EnumClass * )

    Defined at line 43 of file llvm/unittests/ADT/DenseMapTest.cpp

  • template <typename ...T>
    void profileCtor (llvm::FoldingSetNodeID & ID, Kind K, T... V)

    Defined at line 43 of file llvm/lib/ProfileData/ItaniumManglingCanonicalizer.cpp

  • vector createTar (StringRef Base, StringRef Filename)

    Defined at line 43 of file llvm/unittests/Support/TarWriterTest.cpp

  • template <typename ErrorT>
    void expectSameErrors (unordered_set ExpectedMsgs, Error Err)

    Defined at line 43 of file llvm/unittests/FileCheck/FileCheckTest.cpp

  • bool isStillInteresting (ArrayRef Chunks)

    Defined at line 43 of file llvm/tools/reduce-chunk-list/reduce-chunk-list.cpp

  • bool runImpl (Function & F)

    Defined at line 43 of file llvm/lib/Transforms/ObjCARC/ObjCARCExpand.cpp

  • vector getTestcases ()

    A function that returns a set of test cases.

    Defined at line 43 of file llvm/unittests/ProfileData/ItaniumManglingCanonicalizerTest.cpp

  • bool isMask (const TargetRegisterClass * RC, const TargetRegisterInfo * TRI)

    Defined at line 44 of file llvm/lib/Target/X86/X86DomainReassignment.cpp

  • Error release (MemoryMapper & M, const std::vector<ExecutorAddr> & Reservations)

    Defined at line 44 of file llvm/unittests/ExecutionEngine/Orc/MemoryMapperTest.cpp

  • void checkAdd (uint64_t ptr)

    Helper Function to test add operation

    Defined at line 44 of file llvm/unittests/ExecutionEngine/MCJIT/MCJITMultipleModuleTest.cpp

  • int createTargetMachine ()

    Create a TargetMachine. As we lack a dedicated always available target for

    unittests, we go for "AMDGPU" to be able to test normal and subregister

    liveranges.

    Defined at line 44 of file llvm/unittests/MI/LiveIntervalTest.cpp

  • FixedPointSemantics getSFractSema ()

    Defined at line 45 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • const BasicBlock * getBranchBlock (const PredicateBase * PB)

    Given a predicate info that is a type of branching terminator, get the

    branching block.

    Defined at line 45 of file llvm/lib/Transforms/Utils/PredicateInfo.cpp

  • ThreadSafeModule parseModule (StringRef Source, StringRef Name)

    Defined at line 45 of file llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp

  • int parseMIR (const TargetMachine & TM, StringRef MIRCode, MachineModuleInfo & MMI, LLVMContext * Context)

    Defined at line 45 of file llvm/unittests/CodeGen/DroppedVariableStatsMIRTest.cpp

  • InlineCost getInlineCostWrapper (CallBase & CB, FunctionAnalysisManager & FAM, const InlineParams & Params)

    Defined at line 45 of file llvm/lib/Analysis/InlineOrder.cpp

  • bool unifyReturnBlocks (Function & F)

    Defined at line 45 of file llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp

  • unsigned int getAdded ()

    Defined at line 46 of file llvm/lib/DebugInfo/LogicalView/Core/LVCompare.cpp

  • void writeModuleToBuffer (unique_ptr Mod, SmallVectorImpl<char> & Buffer)

    Defined at line 46 of file llvm/unittests/Bitcode/BitReaderTest.cpp

  • template <typename ValueType>
    BinaryBeImpl<ValueType> binaryBe (ValueType V)

    Defined at line 47 of file llvm/lib/ObjectYAML/GOFFEmitter.cpp

  • TimeTraceProfilerInstances & getTimeTraceProfilerInstances ()

    Defined at line 47 of file llvm/lib/Support/TimeProfiler.cpp

  • set range (unsigned int Start, unsigned int End)

    Defined at line 47 of file llvm/unittests/ADT/DAGDeltaAlgorithmTest.cpp

  • Triple getTargetTriple ()

    Defined at line 48 of file llvm/unittests/ExecutionEngine/Orc/LibraryResolverTest.cpp

  • template <typename RawTypeT>
    DWARFFormValue createDataXFormValue (Form Form, RawTypeT Value)

    Defined at line 48 of file llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

  • StringRef getLeafTypeName (TypeLeafKind LT)

    Defined at line 48 of file llvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp

  • void targetOptionsTest (bool EnableIPRA)

    Defined at line 48 of file llvm/unittests/CodeGen/TargetOptionsTest.cpp

  • void assignProfileData (Function & F, ArrayRef RawCounters)

    Assign branch weights and function entry count. Also update the PSI

    builder.

    Defined at line 48 of file llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp

  • void promoteInternals (Module & ExportM, Module & ImportM, StringRef ModuleId, int & PromoteExtra)

    Promote each local-linkage entity defined by ExportM and used by ImportM by

    changing visibility and appending the given ModuleId.

    Defined at line 48 of file llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp

  • bool anyPrintSymbolOptionSet ()

    Defined at line 49 of file llvm/lib/ExecutionEngine/Orc/DebugUtils.cpp

  • bool getPrefixedValue (StringRef Input, StringRef Prefix, StringRef & Value)

    A helper function that checks if `Input` starts with `Prefix`.

    If it does, it removes the prefix from `Input`, assigns the remainder to

    `Value`, and returns true. Otherwise, it returns false.

    Defined at line 49 of file llvm/lib/Support/Jobserver.cpp

  • RegDomain getDomain (const TargetRegisterClass * RC, const TargetRegisterInfo * TRI)

    Defined at line 49 of file llvm/lib/Target/X86/X86DomainReassignment.cpp

  • Error convertFromYaml ()

    Save the bitstream profile from the JSON representation.

    Defined at line 49 of file llvm/tools/llvm-ctxprof-util/llvm-ctxprof-util.cpp

  • SmallVector getSectionData (Section & Sec)

    Defined at line 49 of file llvm/lib/ExecutionEngine/Orc/Debugging/DebugInfoSupport.cpp

  • template <uint16_t Version, class AddrType, class RefAddrType>
    void TestAllForms ()

    Defined at line 49 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp

  • const char * separators (Style style)

    Defined at line 50 of file llvm/lib/Support/Path.cpp

  • AssertionResult MDTupleEq (const char * LHSExpr, const char * RHSExpr, MDTuple * LHS, MDTuple * RHS)

    Defined at line 50 of file llvm/unittests/Analysis/DXILResourceTest.cpp

  • void F ()

    Defined at line 51 of file llvm/unittests/ExecutionEngine/Orc/ExecutorAddressTest.cpp

  • FixedPointSemantics getFractSema ()

    Defined at line 51 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • template <typename T>
    basic_string printToStringUnbuffered (const T & Value)

    Defined at line 51 of file llvm/unittests/Support/raw_ostream_test.cpp

  • int64_t getNumBlocksFromCond (const BasicBlock & BB)

    Defined at line 51 of file llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp

  • const char * getExpectedProducerName ()

    Defined at line 51 of file llvm/lib/Object/IRSymtab.cpp

  • basic_string returns (StringRef )

    Test that overloads on function_refs are resolved as expected.

    Defined at line 52 of file llvm/unittests/ADT/FunctionRefTest.cpp

  • set fixed_set (unsigned int N)

    Defined at line 52 of file llvm/unittests/ADT/DeltaAlgorithmTest.cpp

  •  incrementWrapper (const char * ArgData, size_t ArgSize)

    A basic function to be used as both initializer/deinitializer

    Defined at line 52 of file llvm/unittests/ExecutionEngine/Orc/MemoryMapperTest.cpp

  • void zeroResults ()

    Defined at line 52 of file llvm/lib/DebugInfo/LogicalView/Core/LVCompare.cpp

  • unique_ptr getLazyModuleFromAssembly (LLVMContext & Context, SmallString<1024> & Mem, const char * Assembly)

    Defined at line 52 of file llvm/unittests/Bitcode/BitReaderTest.cpp

  • void expectDumpResult (const dwarf::FDE & TestFDE, bool IsEH, StringRef ExpectedFirstLine)

    Defined at line 52 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugFrameTest.cpp

  • unique_ptr createReader (LVReaderHandler & ReaderHandler, SmallString<128> & InputsDir, StringRef Filename)

    Helper function to create a reader.

    Defined at line 52 of file llvm/unittests/DebugInfo/LogicalView/DWARFGeneratedTest.cpp

  • basic_string returns (function_ref F)

    Defined at line 53 of file llvm/unittests/ADT/FunctionRefTest.cpp

  • Context & getContext ()

    Defined at line 53 of file llvm/unittests/MC/DwarfLineTables.cpp

  • StructType * getDeviceImageTy (Module & M)

    struct __tgt_device_image {

    void *ImageStart;

    void *ImageEnd;

    __tgt_offload_entry *EntriesBegin;

    __tgt_offload_entry *EntriesEnd;

    };

    Defined at line 53 of file llvm/lib/Frontend/Offloading/OffloadWrapper.cpp

  • basic_string FormatExtensionFlags (int64_t Flags)

    Defined at line 53 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • basic_string tag (StringRef Name, StringRef Str, StringRef ClassName)

    Create a

    tag around

    and optionally set its

    Defined at line 53 of file llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp

  • Function * addHelperAndWrapper (Module & M, StringRef WrapperName, FunctionType * WrapperFnType, VisibilityTypes WrapperVisibility, StringRef HelperName, ArrayRef HelperPrefixArgs)

    Adds helper function decls and wrapper functions that call the helper with

    some additional prefix arguments.

    E.g. For wrapper "foo" with type i8(i8, i64), helper "bar", and prefix

    args i32 4 and i16 12345, this function will add:

    declare i8

    (i32, i16, i8, i64)

    define i8

    (i8, i64) {

    entry:

    %2 = call i8

    (i32 4, i16 12345, i8 %0, i64 %1)

    ret i8 %2

    }

    Defined at line 53 of file llvm/lib/ExecutionEngine/Orc/LLJIT.cpp

  • basic_string returns (function_ref F)

    Defined at line 54 of file llvm/unittests/ADT/FunctionRefTest.cpp

  • set range (unsigned int N)

    Defined at line 54 of file llvm/unittests/ADT/DAGDeltaAlgorithmTest.cpp

  • Instruction * getBranchTerminator (const PredicateBase * PB)

    Given a predicate info that is a type of branching terminator, get the

    branching terminator.

    Defined at line 54 of file llvm/lib/Transforms/Utils/PredicateInfo.cpp

  • bool FDHasContent (int FD, StringRef Content)

    Defined at line 54 of file llvm/unittests/Support/ReplaceFileTest.cpp

  • unique_ptr createReader (LVReaderHandler & ReaderHandler, SmallString<128> & InputsDir, StringRef Filename)

    Helper function to create a reader.

    Defined at line 54 of file llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp

  • unique_ptr createReader (LVReaderHandler & ReaderHandler, SmallString<128> & InputsDir, StringRef Filename)

    Helper function to create a reader.

    Defined at line 54 of file llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp

  • template <typename ReadT>
     testReadUInts (const char * ArgData, size_t ArgSize)

    Defined at line 54 of file llvm/unittests/ExecutionEngine/Orc/EPCGenericMemoryAccessTest.cpp

  • MachineBasicBlock * CloneMachineBasicBlock (MachineBasicBlock & OrigBB, unsigned int CloneID)

    Clones the given block and assigns the given `CloneID` to its BBID. Copies

    the instructions into the new block and sets up its successors.

    Defined at line 54 of file llvm/lib/CodeGen/BasicBlockPathCloning.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const ZerosImpl & Z)

    Defined at line 55 of file llvm/lib/ObjectYAML/GOFFEmitter.cpp

  • template <typename Fn>
    void EnumerateInterestingConstantRanges (Fn TestFn)

    Defined at line 55 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • std::ostream & operator<< (std::ostream & os, const CSKYCPUTestParams & params)

    Defined at line 55 of file llvm/unittests/TargetParser/CSKYTargetParserTest.cpp

  • basic_string genGlobNone (const std::vector<std::string> & Files)

    Defined at line 55 of file llvm/benchmarks/SpecialCaseListBM.cpp

  • template <class Strategy>
    unique_ptr createMutator ()

    Defined at line 55 of file llvm/unittests/FuzzMutate/StrategiesTest.cpp

  • bool isUsefullToPreserve (AttrKind Kind)

    Defined at line 55 of file llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp

  • char preferred_separator (Style style)

    Defined at line 56 of file llvm/lib/Support/Path.cpp

  • void checkAccumulate (uint64_t ptr)

    Defined at line 56 of file llvm/unittests/ExecutionEngine/MCJIT/MCJITMultipleModuleTest.cpp

  • unique_ptr parseAssembly (const char * Assembly, LLVMContext & Context)

    Defined at line 56 of file llvm/unittests/FuzzMutate/OperationsTest.cpp

  • Context & getContext ()

    Defined at line 57 of file llvm/unittests/MC/X86/X86MCDisassemblerTest.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const CustomPrint & CP)

    Defined at line 57 of file llvm/unittests/Support/InterleavedRangeTest.cpp

  • IntrusiveRefCntPtr createMockBackend (MockOutputBackendData & Data)

    Defined at line 57 of file llvm/unittests/Support/VirtualOutputBackendTest.cpp

  • FixedPointSemantics getLFractSema ()

    Defined at line 57 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • bool compareClusters (const std::pair<unsigned int, unsigned int> & A, const std::pair<unsigned int, unsigned int> & B)

    Defined at line 57 of file llvm/lib/Transforms/Utils/SplitModule.cpp

  • vector getValidAlignments ()

    Defined at line 57 of file llvm/unittests/Support/AlignmentTest.cpp

  • bool CheckHostSupport ()

    Defined at line 57 of file llvm/unittests/ExecutionEngine/Orc/LibraryResolverTest.cpp

  • bool preCodeGenCallback (Module & M, TargetMachine & , CodeGenFileType CGFT, raw_pwrite_stream & OS)

    Defined at line 57 of file llvm/examples/Bye/Bye.cpp

  • bool flagsMatchCLOpts (const JITSymbolFlags & Flags)

    Defined at line 57 of file llvm/lib/ExecutionEngine/Orc/DebugUtils.cpp

  • int parseMIR (LLVMContext & Context, legacy::PassManagerBase & PM, int & MIR, const TargetMachine & TM, StringRef MIRCode)

    Defined at line 57 of file llvm/unittests/MI/LiveIntervalTest.cpp

  • void RegexErrorToString (int error, struct llvm_regex * preg, std::string & Error)

    Utility to convert a regex error code into a human-readable string.

    Defined at line 59 of file llvm/lib/Support/Regex.cpp

  • bool IsInRanges (const IntRange & R, const std::vector<IntRange> & Ranges)

    Return true iff R is covered by Ranges.

    Defined at line 59 of file llvm/lib/Transforms/Utils/LowerSwitch.cpp

  • DWARFFormValue createULEBFormValue (uint64_t Value)

    Defined at line 59 of file llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

  • const TargetRegisterClass * getDstRC (const TargetRegisterClass * SrcRC, RegDomain Domain)

    Return a register class equivalent to

    in

    Defined at line 59 of file llvm/lib/Target/X86/X86DomainReassignment.cpp

  • ZerosImpl zeros (const size_t NumBytes)

    Defined at line 60 of file llvm/lib/ObjectYAML/GOFFEmitter.cpp

  • optional getFileDescriptorPair (StringRef Input)

    A helper function to parse a string in the format "R,W" where R and W are

    non-negative integers representing file descriptors. It populates the

    `ReadFD` and `WriteFD` output parameters. Returns true on success.

    Defined at line 60 of file llvm/lib/Support/Jobserver.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const X & )

    Defined at line 61 of file llvm/unittests/Support/raw_ostream_test.cpp

  • template <typename T>
    bool compEnumNames (const EnumEntry<T> & lhs, const EnumEntry<T> & rhs)

    Defined at line 61 of file llvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp

  • bool canonicalizeAliases (Module & M)

    Convert aliases to canonical form.

    Defined at line 61 of file llvm/lib/Transforms/Utils/CanonicalizeAliases.cpp

  • bool FileHasContent (StringRef File, StringRef Content)

    Defined at line 61 of file llvm/unittests/Support/ReplaceFileTest.cpp

  • ArrayRef splitMustacheString (StringRef Str, MustacheContext & Ctx)

    Defined at line 61 of file llvm/lib/Support/Mustache.cpp

  • int64_t getUses (const Function & F)

    Defined at line 62 of file llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp

  • Error createCustomError ()

    Defined at line 62 of file llvm/unittests/Support/VirtualOutputBackendTest.cpp

  • pair getBlockEdge (const PredicateBase * PB)

    Given a predicate info that is a type of branching terminator, get the

    edge this predicate info represents

    Defined at line 62 of file llvm/lib/Transforms/Utils/PredicateInfo.cpp

  • set range (unsigned int Start, unsigned int End)

    Defined at line 62 of file llvm/unittests/ADT/DeltaAlgorithmTest.cpp

  • StringRef find_first_component (StringRef path, Style style)

    Defined at line 62 of file llvm/lib/Support/Path.cpp

  • FixedPointSemantics getUSAccumSema ()

    Defined at line 63 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • template <typename Fn>
    void EnumerateTwoInterestingConstantRanges (Fn TestFn)

    Defined at line 63 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • _Rb_tree_iterator getResultsEntry (LVElement * Element)

    Defined at line 63 of file llvm/lib/DebugInfo/LogicalView/Core/LVCompare.cpp

  • PointerType * getDeviceImagePtrTy (Module & M)

    Defined at line 64 of file llvm/lib/Frontend/Offloading/OffloadWrapper.cpp

  • template <typename T>
    void graphVertexTester (T & G)

    Defined at line 64 of file llvm/unittests/XRay/GraphTest.cpp

  • Expected readOptionsBlock (llvm::BitstreamCursor & cursor, llvm::SmallVectorImpl<uint64_t> & scratch)

    Defined at line 64 of file llvm/tools/dsymutil/SwiftModule.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const SDNodeValue & Op)

    Defined at line 65 of file llvm/lib/CodeGen/SelectionDAG/SDNodeInfo.cpp

  • int openFile (const Twine & Path)

    Opens a file. Path has to be resolved already.

    Defined at line 65 of file llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp

  • basic_string genGlobInMid (const std::vector<std::string> & Files)

    Defined at line 65 of file llvm/benchmarks/SpecialCaseListBM.cpp

  • void requiredSymbolDefinitionsFromOrcTargetProcess ()

    FIXME: lli aims to provide both, RuntimeDyld and JITLink, as the dynamic

    loaders for its JIT implementations. And they both offer debugging via the

    GDB JIT interface, which builds on the two well-known symbol names below.

    As these symbols must be unique across the linked executable, we can only

    define them in one of the libraries and make the other depend on it.

    OrcTargetProcess is a minimal stub for embedding a JIT client in remote

    executors. For the moment it seems reasonable to have the definition there

    and let ExecutionEngine depend on it, until we find a better solution.

    Defined at line 66 of file llvm/lib/ExecutionEngine/GDBRegistrationListener.cpp

  • unique_ptr createMockOutput (MockOutputFileData & Data)

    Defined at line 66 of file llvm/unittests/Support/VirtualOutputFileTest.cpp

  • unique_ptr parseAssembly (const char * Assembly, LLVMContext & Context)

    Defined at line 66 of file llvm/unittests/FuzzMutate/StrategiesTest.cpp

  • template <typename T, typename TFlag>
    basic_string getFlagNames (CodeViewRecordIO & IO, T Value, ArrayRef<EnumEntry<TFlag>> Flags)

    Defined at line 66 of file llvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp

  • void generateDebugInfo (StringRef Path, Triple & Triple)

    Create a file with generated DWARF.

    Defined at line 66 of file llvm/unittests/DebugInfo/LogicalView/DWARFGeneratedTest.cpp

  • raw_ostream & dbg ()

    Defined at line 67 of file llvm/lib/Transforms/Utils/Debugify.cpp

  • basic_string gtest_DIETestParamsDIEExprFixture_EvalGenerateName_ (const int & info)

    Defined at line 67 of file llvm/unittests/CodeGen/DIETest.cpp

  • int gtest_DIETestParamsDIEExprFixture_EvalGenerator_ ()

    Defined at line 67 of file llvm/unittests/CodeGen/DIETest.cpp

  • Error convertToYaml ()

    Defined at line 67 of file llvm/tools/llvm-ctxprof-util/llvm-ctxprof-util.cpp

  • Error extractFromObject (const ObjectFile & Obj, SmallVectorImpl<OffloadFile> & Binaries)

    Extract offloading binaries from an Object file

    Defined at line 67 of file llvm/lib/Object/OffloadBinary.cpp

  • template <int cROUNDS, int dROUNDS, size_t outlen>
    void siphash (const unsigned char * in, uint64_t inlen, const unsigned char (&)[16] k, unsigned char (&)[outlen] out)

    Computes a SipHash value

    Parameters

    in: pointer to input data (read-only)
    inlen: input data length in bytes (any size_t value)
    k: reference to the key data 16-byte array (read-only)

    Defined at line 67 of file llvm/../third-party/siphash/include/siphash/SipHash.h

  • void dumpDWARFContext (DWARFContext & DC)

    Defined at line 68 of file llvm/lib/ExecutionEngine/Orc/Debugging/DebugInfoSupport.cpp

  • void checkSeparators (StringRef Path)

    Defined at line 68 of file llvm/unittests/Support/Path.cpp

  • basic_string getYamlFilePlatformExt ()

    Defined at line 68 of file llvm/unittests/ExecutionEngine/Orc/LibraryResolverTest.cpp

  •  testReadPointers (const char * ArgData, size_t ArgSize)

    Defined at line 68 of file llvm/unittests/ExecutionEngine/Orc/EPCGenericMemoryAccessTest.cpp

  • basic_string SerializeExtensionFlags (Bitset Flags)

    Defined at line 68 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • set range (unsigned int N)

    Defined at line 69 of file llvm/unittests/ADT/DeltaAlgorithmTest.cpp

  • void renderFunctionSummary (raw_ostream & OS, const FileCoverageSummary & Summary)

    Defined at line 69 of file llvm/tools/llvm-cov/CoverageExporterLcov.cpp

  • FixedPointSemantics getUAccumSema ()

    Defined at line 69 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • bool operator== (const FallibleCollectionWalker & LHS, const FallibleCollectionWalker & RHS)

    Defined at line 69 of file llvm/unittests/ADT/FallibleIteratorTest.cpp

  • UstarHeader createUstar (StringRef Base, StringRef Filename)

    Defined at line 69 of file llvm/unittests/Support/TarWriterTest.cpp

  • void checkElementProperties (LVReader * Reader)

    Check the logical elements basic properties.

    Defined at line 69 of file llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp

  • void checkElementPropertiesClangCodeview (LVReader * Reader)

    Check the logical elements basic properties (Clang - Codeview).

    Defined at line 69 of file llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp

  • template <>
    TypesMatchMatcherP<V_type> TypesMatch (V_type gmock_p0)

    Defined at line 70 of file llvm/unittests/FuzzMutate/OperationsTest.cpp

  • DWARFFormValue createSLEBFormValue (int64_t Value)

    Defined at line 70 of file llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

  • basic_string a (StringRef Link, StringRef Str, StringRef TargetName)

    Create an anchor to

    with the label

    Defined at line 70 of file llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp

  • bool cleanUpTypeCheckedLoad (Module & M, Function & CheckedLoadFn, bool IsRelative)

    Replaces uses of llvm.type.checked.load instructions with unchecked loads.

    In essence, we're undoing the frontends instrumentation, since it isn't

    correct for the non-LTO part of a FatLTO object.

    llvm.type.checked.load instruction sequences always have a particular form:

    clang-format off

    %0 = tail call { ptr, i1 }

    .type.checked.load(ptr %vtable, i32 0, metadata !"foo"), !nosanitize !0

    %1 = extractvalue { ptr, i1 } %0, 1, !nosanitize !0

    br i1 %1, label %cont2, label %trap1, !nosanitize !0

    trap1: ; preds = %entry

    tail call void

    .ubsantrap(i8 2) #3, !nosanitize !0

    unreachable, !nosanitize !0

    cont2: ; preds = %entry

    %2 = extractvalue { ptr, i1 } %0, 0, !nosanitize !0

    %call = tail call noundef i64 %2(ptr noundef nonnull align 8 dereferenceable(8) %p1) #4

    clang-format on

    In this sequence, the vtable pointer is first loaded and checked against some

    metadata. The result indicates failure, then the program traps. On the

    success path, the pointer is used to make an indirect call to the function

    pointer loaded from the vtable.

    Since we won't be able to lower this correctly later in non-LTO builds, we

    need to drop the special load and trap, and emit a normal load of the

    function pointer from the vtable.

    This is straight forward, since the checked load can be replaced w/ a load

    of the vtable pointer and a GEP instruction to index into the vtable and get

    the correct method/function pointer. We replace the "check" with a constant

    indicating success, which allows later passes to simplify control flow and

    remove any now dead instructions.

    This logic holds for both llvm.type.checked.load and

    llvm.type.checked.load.relative instructions.

    Defined at line 70 of file llvm/lib/Transforms/IPO/FatLTOCleanup.cpp

  • Error createCustomError ()

    Defined at line 71 of file llvm/unittests/Support/VirtualOutputFileTest.cpp

  • void testZstdCompression (StringRef Input, int Level)

    Defined at line 71 of file llvm/unittests/Support/CompressionTest.cpp

  • RetainedKnowledge canonicalizedKnowledge (RetainedKnowledge RK, const DataLayout & DL)

    This function will try to transform the given knowledge into a more

    canonical one. the canonical knowledge maybe the given one.

    Defined at line 71 of file llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp

  • void profileNode (llvm::FoldingSetNodeID & ID, const Node * N)

    Defined at line 72 of file llvm/lib/ProfileData/ItaniumManglingCanonicalizer.cpp

  • Functions & getFunctions ()

    Defined at line 72 of file llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp

  • OrcErrorCategory & getOrcErrCat ()

    Defined at line 72 of file llvm/lib/ExecutionEngine/Orc/Shared/OrcError.cpp

  • basic_string getFlagName (DISubprogram & SP, bool UseX86FastCall)

    Defined at line 72 of file llvm/lib/CodeGen/JMCInstrumenter.cpp

  • bool isUnsafe (const ConstantRange & R)

    Check if we should bailout for such ranges.

    Defined at line 73 of file llvm/lib/Analysis/StackSafetyAnalysis.cpp

  • template <typename ErrorT>
    void expectError (StringRef ExpectedMsg, Error Err)

    Defined at line 73 of file llvm/unittests/FileCheck/FileCheckTest.cpp

  • template <typename Fn>
    void ForeachNumInConstantRange (const ConstantRange & CR, Fn TestFn)

    Defined at line 73 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • template <>
    HasTypeMatcherP<T_type> HasType (T_type gmock_p0)

    Defined at line 74 of file llvm/unittests/FuzzMutate/OperationsTest.cpp

  • CustomDoublingOStream & operator<< (CustomDoublingOStream & OS, int V)

    Defined at line 74 of file llvm/unittests/Support/InterleavedRangeTest.cpp

  • bool areAllBBsReachable (const Function & F, FunctionAnalysisManager & FAM)

    Defined at line 74 of file llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp

  • StructType * getBinDescTy (Module & M)

    struct __tgt_bin_desc {

    int32_t NumDeviceImages;

    __tgt_device_image *DeviceImages;

    __tgt_offload_entry *HostEntriesBegin;

    __tgt_offload_entry *HostEntriesEnd;

    };

    Defined at line 74 of file llvm/lib/Frontend/Offloading/OffloadWrapper.cpp

  • FixedPointSemantics getULAccumSema ()

    Defined at line 75 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • void renderFunctions (raw_ostream & OS, const iterator_range<coverage::FunctionRecordIterator> & Functions)

    Defined at line 75 of file llvm/tools/llvm-cov/CoverageExporterLcov.cpp

  • bool isAsmOnly (const Function & F)

    Defined at line 75 of file llvm/lib/Transforms/Utils/ProfileVerify.cpp

  • void checkFormatAndArch (const DataForTest & D, StringRef Fmt, ArchType Arch)

    Defined at line 75 of file llvm/unittests/Object/ELFObjectFileTest.cpp

  • CallInst * createPrintfCall (int & Builder, StringRef FormatStr, ArrayRef Values)

    Create an instruction that uses the values in

    We use "printf"

    just because it is often used for this purpose in test code, but it is never

    executed here.

    Defined at line 75 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • void expectNoDiags (const DiagnosticInfo * DI, void * C)

    Defined at line 76 of file llvm/unittests/Linker/LinkModulesTest.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const Column & Value)

    Defined at line 76 of file llvm/tools/llvm-cov/CoverageReport.cpp

  • MachineTypes getEmulation (StringRef S)

    Defined at line 76 of file llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp

  • bool increaseGranularity (SmallVector<Chunk> & Chunks)

    Defined at line 76 of file llvm/tools/reduce-chunk-list/reduce-chunk-list.cpp

  • MachineInstr * createMockCopy (MachineFunction & MF)

    Defined at line 77 of file llvm/unittests/CodeGen/RegAllocScoreTest.cpp

  • void expectDiagnosticError (StringRef ExpectedMsg, Error Err)

    Defined at line 77 of file llvm/unittests/FileCheck/FileCheckTest.cpp

  • ConstantRange addOverflowNever (const ConstantRange & L, const ConstantRange & R)

    Defined at line 77 of file llvm/lib/Analysis/StackSafetyAnalysis.cpp

  • basic_string toString (OutputConfig Config)

    Defined at line 78 of file llvm/unittests/Support/VirtualOutputConfigTest.cpp

  • unsigned int getYamlDocNum ()

    Defined at line 78 of file llvm/unittests/ExecutionEngine/Orc/LibraryResolverTest.cpp

  • void strictNext (APFloat & V)

    Defined at line 78 of file llvm/unittests/IR/ConstantFPRangeTest.cpp

  • basic_string genGlobAtStart (const std::vector<std::string> & Files)

    Defined at line 78 of file llvm/benchmarks/SpecialCaseListBM.cpp

  • Constant * foldConstVectorToAPInt (APInt & Result, Type * DestTy, Constant * C, Type * SrcEltTy, unsigned int NumSrcElts, const DataLayout & DL)

    ===----------------------------------------------------------------------===//

    Constant Folding internal helper functions

    ===----------------------------------------------------------------------===//

    Defined at line 78 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Expected parseNativeMakeFlags (StringRef MakeFlags)

    Parses the `MAKEFLAGS` environment variable string to find jobserver

    arguments. It splits the string into space-separated arguments and searches

    for `--jobserver-auth` or `--jobserver-fds`. Based on the value of these

    arguments, it determines the jobserver mode (Pipe, FIFO, or Semaphore) and

    connection details (file descriptors or path).

    Defined at line 78 of file llvm/lib/Support/Jobserver.cpp

  • bool shouldRelax (const Section & S)

    Defined at line 79 of file llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp

  • int64_t clamp_uint64_to_int64 (uint64_t u)

    The JSON library accepts int64_t, but profiling counts are stored as uint64_t.

    Therefore we need to explicitly convert from unsigned to signed, since a naive

    cast is implementation-defined behavior when the unsigned value cannot be

    represented as a signed value. We choose to clamp the values to preserve the

    invariant that counts are always >= 0.

    Defined at line 80 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • void updateExpected (LVElement * Element)

    Defined at line 80 of file llvm/lib/DebugInfo/LogicalView/Core/LVCompare.cpp

  • void collectNonCopyMI (SmallVectorImpl<MachineInstr *> & MIList, MachineFunction * MF)

    Defined at line 80 of file llvm/unittests/CodeGen/GlobalISel/GISelUtilsTest.cpp

  • void IterateOnSource (StringRef Source, IRMutator & Mutator)

    Defined at line 80 of file llvm/unittests/FuzzMutate/StrategiesTest.cpp

  • Column column (StringRef Str, unsigned int Width)

    Defined at line 81 of file llvm/tools/llvm-cov/CoverageReport.cpp

  • MachineInstr * createMockLoad (MachineFunction & MF)

    Defined at line 81 of file llvm/unittests/CodeGen/RegAllocScoreTest.cpp

  • void clearColdFunctionProfile (Function & F)

    Defined at line 81 of file llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp

  • FixedPointSemantics getUSFractSema ()

    Defined at line 81 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • pair getNumCountersAndCallsites (const Function & F)

    llvm.instrprof.increment[.step] captures the total number of counters as one

    of its parameters, and llvm.instrprof.callsite captures the total number of

    callsites. Those values are the same for instances of those intrinsics in

    this function. Find the first instance of each and return them.

    Defined at line 81 of file llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp

  • bool isDwoSection (const MCSectionELF & Sec)

    Defined at line 83 of file llvm/lib/MC/ELFObjectWriter.cpp

  • bool isRelaxable (const Edge & E)

    Defined at line 83 of file llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp

  •  testReadBuffers (const char * ArgData, size_t ArgSize)

    Defined at line 83 of file llvm/unittests/ExecutionEngine/Orc/EPCGenericMemoryAccessTest.cpp

  • PointerType * getBinDescPtrTy (Module & M)

    Defined at line 84 of file llvm/lib/Frontend/Offloading/OffloadWrapper.cpp

  • bool commandLineOverride ()

    Defined at line 84 of file llvm/lib/Transforms/IPO/ExpandVariadics.cpp

  • template <typename T>
    Column column (StringRef Str, unsigned int Width, const T & Value)

    Defined at line 84 of file llvm/tools/llvm-cov/CoverageReport.cpp

  • bool PreferSmallest (const ConstantRange & CR1, const ConstantRange & CR2)

    Defined at line 84 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • std::mutex & getCrashRecoveryContextMutex ()

    Defined at line 84 of file llvm/lib/Support/CrashRecoveryContext.cpp

  • Array renderSegment (const coverage::CoverageSegment & Segment)

    Defined at line 84 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • basic_string gtest_CSKYCPUTestsCSKYCPUTestFixture_EvalGenerateName_ (const ::testing::TestParamInfo<CSKYCPUTestFixture::ParamType> & info)

    Note that we include CSKY::AEK_NONE even when there are other extensions

    we expect. This is because the default extensions for a CPU are the sum

    of the default extensions for its architecture and for the CPU.

    So if a CPU has no extra extensions, it adds AEK_NONE.

    Defined at line 85 of file llvm/unittests/TargetParser/CSKYTargetParserTest.cpp

  • ParamGenerator gtest_CSKYCPUTestsCSKYCPUTestFixture_EvalGenerator_ ()

    Note that we include CSKY::AEK_NONE even when there are other extensions

    we expect. This is because the default extensions for a CPU are the sum

    of the default extensions for its architecture and for the CPU.

    So if a CPU has no extra extensions, it adds AEK_NONE.

    Defined at line 85 of file llvm/unittests/TargetParser/CSKYTargetParserTest.cpp

  • MachineInstr * createMockStore (MachineFunction & MF)

    Defined at line 85 of file llvm/unittests/CodeGen/RegAllocScoreTest.cpp

  •  testReserve (const char * ArgData, size_t ArgSize)

    Defined at line 85 of file llvm/unittests/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManagerTest.cpp

  • Error buildTables_ELF_systemz (LinkGraph & G)

    Defined at line 85 of file llvm/lib/ExecutionEngine/JITLink/ELF_systemz.cpp

  • template <typename T>
    void graphEdgeTester (T & G)

    Defined at line 85 of file llvm/unittests/XRay/GraphTest.cpp

  • void writeName (StringRef StrName, Writer W)

    Defined at line 86 of file llvm/lib/ObjectYAML/XCOFFEmitter.cpp

  • void renderLineExecutionCounts (raw_ostream & OS, const coverage::CoverageData & FileCoverage)

    Defined at line 86 of file llvm/tools/llvm-cov/CoverageExporterLcov.cpp

  • PerfJITCodeLoadRecord getCodeLoadRecord (const Symbol & Sym, std::atomic<uint64_t> & CodeIndex)

    Defined at line 86 of file llvm/lib/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.cpp

  • FixedPointSemantics getUFractSema ()

    Defined at line 87 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • void removeInstrumentation (Function & F)

    Defined at line 87 of file llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp

  • array generateData (uint16_t Machine)

    Defined at line 87 of file llvm/unittests/Object/ELFObjectFileTest.cpp

  • MachineTypes getMachine (Triple T)

    Defined at line 87 of file llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp

  • Error handleCustomError (const CustomError & CE)

    Defined at line 88 of file llvm/unittests/Support/ErrorTest.cpp

  • bool PreferSmallestUnsigned (const ConstantRange & CR1, const ConstantRange & CR2)

    Defined at line 88 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • ConstantRange unionNoWrap (const ConstantRange & L, const ConstantRange & R)

    Defined at line 88 of file llvm/lib/Analysis/StackSafetyAnalysis.cpp

  • Error buildTables_ELF_x86_64 (LinkGraph & G)

    Defined at line 88 of file llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp

  • void updateMissingOrAdded (LVElement * Element, LVComparePass Pass)

    Defined at line 88 of file llvm/lib/DebugInfo/LogicalView/Core/LVCompare.cpp

  • MachineInstr * createMockLoadStore (MachineFunction & MF)

    Defined at line 89 of file llvm/unittests/CodeGen/RegAllocScoreTest.cpp

  • basic_string genGlobAtEnd (const std::vector<std::string> & Files)

    Defined at line 89 of file llvm/benchmarks/SpecialCaseListBM.cpp

  • bool IsValidCloning (const MachineFunction & MF, const int & BBIDToBlock, const int & ClonePath)

    Returns if we can legally apply the cloning represented by `ClonePath`.

    `BBIDToBlock` contains the original basic blocks in function `MF` keyed by

    their `BBID::BaseID`.

    Defined at line 89 of file llvm/lib/CodeGen/BasicBlockPathCloning.cpp

  • bool isKernel (const Function & F)

    Defined at line 90 of file llvm/lib/Transforms/Utils/SplitModuleByCategory.cpp

  • Array renderRegion (const coverage::CountedRegion & Region)

    Defined at line 90 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • void handleCustomErrorVoid (const CustomError & CE)

    Defined at line 92 of file llvm/unittests/Support/ErrorTest.cpp

  • APInt MULHU (APInt X, APInt Y)

    Defined at line 92 of file llvm/unittests/Support/DivisionByConstantTest.cpp

  •  testInitialize (const char * ArgData, size_t ArgSize)

    Defined at line 92 of file llvm/unittests/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManagerTest.cpp

  • RelaxAux initRelaxAux (LinkGraph & G)

    Defined at line 92 of file llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp

  • FixedPointSemantics getULFractSema ()

    Defined at line 93 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • raw_ostream & operator<< (raw_ostream & O, const CaseVector & C)

    Used for debugging purposes.

    Defined at line 93 of file llvm/lib/Transforms/Utils/LowerSwitch.cpp

  • template <typename Fn>
    void EnumerateConstantFPRangesImpl (Fn TestFn, SparseLevel Level, bool MayBeQNaN, bool MayBeSNaN)

    Defined at line 93 of file llvm/unittests/IR/ConstantFPRangeTest.cpp

  • Error handleCustomErrorUP (unique_ptr CE)

    Defined at line 94 of file llvm/unittests/Support/ErrorTest.cpp

  • MachineInstr * createMockCheapRemat (MachineFunction & MF)

    Defined at line 94 of file llvm/unittests/CodeGen/RegAllocScoreTest.cpp

  • void adjustColumnWidths (ArrayRef Files, ArrayRef Functions)

    Adjust column widths to fit long file paths and function names.

    Defined at line 94 of file llvm/tools/llvm-cov/CoverageReport.cpp

  • void mutateAndVerifyModule (StringRef Source, std::unique_ptr<IRMutator> & Mutator, int repeat, ArrayRef ExtraModuleVerifiers)

    Defined at line 94 of file llvm/unittests/FuzzMutate/StrategiesTest.cpp

  • void annotateIndirectCall (Module & M, CallBase & CB, const DenseMap<uint32_t, FlatIndirectTargets> & FlatProf, const InstrProfCallsite & Ins)

    Defined at line 94 of file llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp

  • bool PreferSmallestSigned (const ConstantRange & CR1, const ConstantRange & CR2)

    Defined at line 95 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • unique_ptr createPlatformGraph (MachOPlatform & MOP, basic_string Name)

    Defined at line 96 of file llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp

  • void printDebugLoc (const DebugLoc & DL, formatted_raw_ostream & OS)

    Defined at line 96 of file llvm/tools/llvm-dis/llvm-dis.cpp

  • ConstantRangeList GetCRL (ArrayRef Pairs)

    Defined at line 97 of file llvm/unittests/IR/ConstantRangeListTest.cpp

  • Array renderBranch (const coverage::CountedRegion & Region)

    Defined at line 97 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • std::optional<DestSourcePair> isCopyInstr (const MachineInstr & MI, const TargetInstrInfo & TII, bool UseCopyInstr)

    Defined at line 97 of file llvm/lib/CodeGen/MachineCopyPropagation.cpp

  • CtorTester getTestKey (int i, CtorTester * )

    Defined at line 98 of file llvm/unittests/ADT/DenseMapTest.cpp

  • void handleCustomErrorUPVoid (unique_ptr CE)

    Defined at line 98 of file llvm/unittests/Support/ErrorTest.cpp

  • size_t filename_pos (StringRef str, Style style)

    Returns the first character of the filename in str. For paths ending in

    '/', it returns the position of the '/'.

    Defined at line 98 of file llvm/lib/Support/Path.cpp

  • vector collectNestedBranches (const coverage::CoverageMapping & Coverage, ArrayRef Expansions, std::vector<LineColPair> & NestedPath, unsigned int & PositionCounter)

    Defined at line 98 of file llvm/tools/llvm-cov/CoverageExporterLcov.cpp

  • APInt UnsignedDivideUsingMagic (const APInt & Numerator, const APInt & Divisor, bool LZOptimization, bool AllowEvenDivisorOptimization, bool ForceNPQ, UnsignedDivisionByConstantInfo Magics)

    Defined at line 98 of file llvm/unittests/Support/DivisionByConstantTest.cpp

  • CtorTester getTestValue (int i, CtorTester * )

    Defined at line 99 of file llvm/unittests/ADT/DenseMapTest.cpp

  • MachineInstr * createMockExpensiveRemat (MachineFunction & MF)

    Defined at line 99 of file llvm/unittests/CodeGen/RegAllocScoreTest.cpp

  • FixedPointSemantics getPadUSAccumSema ()

    Defined at line 99 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • void parseExcludedPrefixes (StringRef PrefixesStr, SmallVectorImpl<StringRef> & ExcludedPrefixes)

    Defined at line 99 of file llvm/lib/Transforms/Utils/MetaRenamer.cpp

  • Error extractFromBitcode (MemoryBufferRef Buffer, SmallVectorImpl<OffloadFile> & Binaries)

    Defined at line 99 of file llvm/lib/Object/OffloadBinary.cpp

  •  testRelease (const char * ArgData, size_t ArgSize)

    Defined at line 100 of file llvm/unittests/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManagerTest.cpp

  • basic_string genGlobAtBothSides (const std::vector<std::string> & Files)

    Defined at line 100 of file llvm/benchmarks/SpecialCaseListBM.cpp

  • optional getTestKey (int i, std::optional<uint32_t> * )

    Defined at line 101 of file llvm/unittests/ADT/DenseMapTest.cpp

  • bool PreferSmallestNonFullUnsigned (const ConstantRange & CR1, const ConstantRange & CR2)

    Defined at line 101 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • bool blockEndsInUnreachable (const BasicBlock & BB)

    Same as blockEndsInUnreachable in CodeGen/BranchFolding.cpp. Do not modify

    this function unless you modify the MBB version as well.

    A no successor, non-return block probably ends in unreachable and is cold.

    Also consider a block that ends in an indirect branch to be a return block,

    since many targets use plain indirect branches to return.

    Defined at line 102 of file llvm/lib/Transforms/IPO/HotColdSplitting.cpp

  • const char * getMIName (const MemIntrinsic * MI)

    Defined at line 102 of file llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp

  •  testReadStrings (const char * ArgData, size_t ArgSize)

    Defined at line 102 of file llvm/unittests/ExecutionEngine/Orc/EPCGenericMemoryAccessTest.cpp

  • template <typename T, typename TEnum>
    StringRef getEnumName (CodeViewRecordIO & IO, T Value, ArrayRef<EnumEntry<TEnum>> EnumValues)

    Defined at line 103 of file llvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp

  • MachineInstr * createMockDebug (MachineFunction & MF)

    Defined at line 104 of file llvm/unittests/CodeGen/RegAllocScoreTest.cpp

  • bool operator== (const reverse_iterator & L, const reverse_iterator & R)

    Defined at line 104 of file llvm/unittests/ADT/RangeAdapterTest.cpp

  • template <llvm::endianness Endianness>
    Symbol & createELFGOTHeader (LinkGraph & G, ppc64::TOCTableManager<Endianness> & TOC)

    Defined at line 104 of file llvm/lib/ExecutionEngine/JITLink/ELF_ppc64.cpp

  • Expected parseControlBlock (llvm::BitstreamCursor & cursor, llvm::SmallVectorImpl<uint64_t> & scratch)

    Defined at line 104 of file llvm/tools/dsymutil/SwiftModule.cpp

  • MachineTypes getDefaultMachine ()

    Defined at line 105 of file llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp

  • FixedPointSemantics getPadUAccumSema ()

    Defined at line 105 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • Array gatherConditions (const coverage::MCDCRecord & Record)

    Defined at line 105 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • void renderDivider (raw_ostream & OS, const CoverageViewOptions & Options, bool isFileReport)

    Prints a horizontal divider long enough to cover the given column

    widths.

    Defined at line 105 of file llvm/tools/llvm-cov/CoverageReport.cpp

  • AssertionResult verifyDFSOrder (Function * F, ArrayRef RefOrder)

    Verify that blocks in

    are corresponds to the depth-first visit

    order the control flow of

    This is an easy way to verify the branching structure of the CFG without

    checking every branch instruction individually. For the CFG of a

    CanonicalLoopInfo, the Cond BB's terminating branch's first edge is entering

    the body, i.e. the DFS order corresponds to the execution order with one

    loop iteration.

    Defined at line 106 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • basic_string gtest_DIETestParamsDIELabelFixture_EvalGenerateName_ (const int & info)

    Defined at line 107 of file llvm/unittests/CodeGen/DIETest.cpp

  • int gtest_DIETestParamsDIELabelFixture_EvalGenerator_ ()

    Defined at line 107 of file llvm/unittests/CodeGen/DIETest.cpp

  • void createDebugValue (DIBuilder & DIB, Value * NewValue, DILocalVariable * Variable, DIExpression * Expression, const DILocation * DI, DbgVariableRecord * InsertBefore)

    Defined at line 107 of file llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp

  • void checkHashAndIsEqualMatch (MachineInstr * MI1, MachineInstr * MI2)

    Check that MachineInstrExpressionTrait::isEqual is symmetric and in sync with

    MachineInstrExpressionTrait::getHashValue

    Defined at line 107 of file llvm/unittests/CodeGen/MachineInstrTest.cpp

  • void promoteTypeIds (Module & M, StringRef ModuleId)

    Promote all internal (i.e. distinct) type ids used by the module by replacing

    them with external type ids formed using the module id.

    Note that this needs to be done before we clone the module because each clone

    will receive its own set of distinct metadata nodes.

    Defined at line 107 of file llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp

  • template <class T, std::enable_if_t<std::is_assignable_v<T, int>, bool> = false>
    bool canAssignFromInt (T && )

    Defined at line 108 of file llvm/unittests/ADT/IteratorTest.cpp

  • MachineInstr * createMockKill (MachineFunction & MF)

    Defined at line 108 of file llvm/unittests/CodeGen/RegAllocScoreTest.cpp

  • bool operator!= (const reverse_iterator & L, const reverse_iterator & R)

    Defined at line 108 of file llvm/unittests/ADT/RangeAdapterTest.cpp

  • bool PreferSmallestNonFullSigned (const ConstantRange & CR1, const ConstantRange & CR2)

    Defined at line 108 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • TargetOptions getTargetOptionsForBogusMachine ()

    Defined at line 109 of file llvm/unittests/CodeGen/MFCommon.inc

  • std::optional<std::string> getPrefix (StringRef Argv0)

    Defined at line 109 of file llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp

  • template <typename Sequence, typename Pred>
    SequencePrinter<Sequence, Pred> printSequence (const Sequence & S, char OpenSeq, char CloseSeq, Pred P)

    Defined at line 110 of file llvm/lib/ExecutionEngine/Orc/DebugUtils.cpp

  • void emitUnsupportedRootError (const Function & F, StringRef Reason)

    Defined at line 110 of file llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp

  • void reportHWLoopFailure (StringRef Msg, StringRef ORETag, OptimizationRemarkEmitter * ORE, Loop * TheLoop, Instruction * I)

    Defined at line 111 of file llvm/lib/CodeGen/HardwareLoops.cpp

  • void MetaRenameOnlyInstructions (Function & F)

    Defined at line 111 of file llvm/lib/Transforms/Utils/MetaRenamer.cpp

  • FixedPointSemantics getPadULAccumSema ()

    Defined at line 111 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • const char * ElGetPromptFn (EditLine * EL)

    Defined at line 111 of file llvm/lib/LineEditor/LineEditor.cpp

  • void attachDebugInfo (GlobalVariable & GV, DISubprogram & SP)

    Defined at line 111 of file llvm/lib/CodeGen/JMCInstrumenter.cpp

  • void analyzeProfMetadata (BasicBlock * BB, BranchProbability ColdProbThresh, SmallPtrSetImpl<BasicBlock *> & AnnotatedColdBlocks)

    Defined at line 111 of file llvm/lib/Transforms/IPO/HotColdSplitting.cpp

  • Constant * FoldBitCast (Constant * C, Type * DestTy, const DataLayout & DL)

    Constant fold bitcast, symbolically evaluating it with DataLayout.

    This always returns a non-null constant, but it may be a

    ConstantExpr if unfoldable.

    Defined at line 111 of file llvm/lib/Analysis/ConstantFolding.cpp

  • MachineInstr * createMockInlineAsm (MachineFunction & MF)

    Defined at line 112 of file llvm/unittests/CodeGen/RegAllocScoreTest.cpp

  • template <class Strategy>
    void mutateAndVerifyModule (StringRef Source, int repeat, ArrayRef ExtraModuleVerifiers)

    Defined at line 112 of file llvm/unittests/FuzzMutate/StrategiesTest.cpp

  • Value renderCondState (CondState CondState)

    Defined at line 112 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • basic_string genGlobAtBothSidesAndMid (const std::vector<std::string> & Files)

    Defined at line 112 of file llvm/benchmarks/SpecialCaseListBM.cpp

  • MDNode * getAllocTokenMetadata (const CallBase & CB)

    Returns the !alloc_token metadata if available.

    Expected format is: !{

    <type

    -name>,

    <contains

    -pointer>}

    Defined at line 112 of file llvm/lib/Transforms/Instrumentation/AllocToken.cpp

  • template <class T, std::enable_if_t<!std::is_assignable_v<T, int>, bool> = false>
    bool canAssignFromInt (T && )

    Defined at line 113 of file llvm/unittests/ADT/IteratorTest.cpp

  • void collectStackAddresses (Instruction & I)

    Defined at line 114 of file llvm/lib/Transforms/Utils/Debugify.cpp

  • optional getDebugInfoRecord (const Symbol & Sym, DWARFContext & DC)

    Defined at line 114 of file llvm/lib/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.cpp

  • AssertionResult rangeContains (const ConstantRange & CR, const APInt & N, ArrayRef Inputs)

    Defined at line 115 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • std::ostream & operator<< (std::ostream & os, const ARMCPUTestParams<T> & params)

    Defined at line 116 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • void FixPhis (BasicBlock * SuccBB, BasicBlock * OrigBB, BasicBlock * NewBB, const APInt & NumMergedCases)

    Update the first occurrence of the "switch statement" BB in the PHI

    node with the "new" BB. The other occurrences will:

    1) Be updated by subsequent calls to this function. Switch statements may

    have more than one outcoming edge into the same BB if they all have the same

    value. When the switch statement is converted these incoming edges are now

    coming from multiple BBs.

    2) Removed if subsequent incoming values now share the same case, i.e.,

    multiple outcome edges are condensed into one. This is necessary to keep the

    number of phi values equal to the number of branches to SuccBB.

    Defined at line 116 of file llvm/lib/Transforms/Utils/LowerSwitch.cpp

  • uint64_t getAllocSizeInBits (Module & M, Type * Ty)

    Defined at line 117 of file llvm/lib/Transforms/Utils/Debugify.cpp

  • template <typename ExpectedType, typename VarType>
    void CompileAssertHasType (VarType )

    Defined at line 117 of file llvm/unittests/IR/ValueMapTest.cpp

  • template <typename Sequence, typename Pred>
    llvm::raw_ostream & operator<< (llvm::raw_ostream & OS, const SequencePrinter<Sequence, Pred> & Printer)

    Render a SequencePrinter by delegating to its printTo method.

    Defined at line 117 of file llvm/lib/ExecutionEngine/Orc/DebugUtils.cpp

  • FixedPointSemantics getPadUSFractSema ()

    Defined at line 117 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • void errAsOutParamHelper (Error & Err)

    ErrorAsOutParameter tester.

    Defined at line 117 of file llvm/unittests/Support/ErrorTest.cpp

  • void MetaRename (Function & F)

    Defined at line 117 of file llvm/lib/Transforms/Utils/MetaRenamer.cpp

  • size_t root_dir_start (StringRef str, Style style)

    Returns the position of the root directory in str. If there is no root

    directory in str, it returns StringRef::npos.

    Defined at line 117 of file llvm/lib/Support/Path.cpp

  • template <typename SectionType>
    SectionType constructSection (const MachOYAML::Section & Sec)

    Defined at line 118 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • basic_string getMemberAttributes (CodeViewRecordIO & IO, MemberAccess Access, MethodKind Kind, MethodOptions Options)

    Defined at line 118 of file llvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp

  • SanitizerBinaryMetadataOptions && transformOptionsFromCl (SanitizerBinaryMetadataOptions && Opts)

    Apply opt overrides.

    Defined at line 119 of file llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp

  • unsigned int getCombinedColumnWidth (const CoverageViewOptions & Opts)

    Get the width of the leading columns.

    Defined at line 120 of file llvm/tools/llvm-cov/SourceCoverageViewText.cpp

  • void fatalError (const Twine & Message)

    Defined at line 120 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • template <typename R>
    void TestRev (const R & r)

    Defined at line 120 of file llvm/unittests/ADT/RangeAdapterTest.cpp

  • bool isFunctionSkipped (Function & F)

    Defined at line 121 of file llvm/lib/Transforms/Utils/Debugify.cpp

  • MachineInstr & getMI (MachineFunction & MF, unsigned int At, unsigned int BlockNum)

    Defined at line 121 of file llvm/unittests/MI/LiveIntervalTest.cpp

  • hash_code hash_value (const ComplexValue & Arg)

    Defined at line 122 of file llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp

  • JITSymbolFlags toJITSymbolFlags ( F)

    Defined at line 122 of file llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp

  • bool parseModuleDefinition (StringRef DefFileName, MachineTypes Machine, bool AddUnderscores, int & Exports, std::string & OutputFile)

    Defined at line 122 of file llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp

  • unsigned char ElCompletionFn (EditLine * EL, int ch)

    Handles tab completion.

    This function is really horrible. But since the alternative is to get into

    the line editor business, here we are.

    Defined at line 122 of file llvm/lib/LineEditor/LineEditor.cpp

  • FixedPointSemantics getPadUFractSema ()

    Defined at line 123 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • bool ExtraMaterializable (Instruction & I)

    Materializable callback with extra rematerialization

    Defined at line 123 of file llvm/unittests/Transforms/Coroutines/ExtraRematTest.cpp

  • Slice createSliceFromArchive (LLVMContext & LLVMCtx, const Archive & A)

    Defined at line 124 of file llvm/tools/llvm-lipo/llvm-lipo.cpp

  • Array gatherTestVectors (coverage::MCDCRecord & Record)

    Defined at line 124 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • void annotateIndirectCalls (Module & M, const CtxProfAnalysis::Result & CtxProf)

    We normally return a "Changed" bool, but the calling pass' run assumes

    something will change - some profile will be added - so this won't add much

    by returning false when applicable.

    Defined at line 124 of file llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp

  • basic_string createTempFile (const Twine & Prefix, StringRef Suffix)

    Defined at line 125 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • GlobalVariable * createBinDesc (Module & M, ArrayRef Bufs, pair EntryArray, StringRef Suffix, bool Relocatable)

    Creates binary descriptor for the given device images. Binary descriptor

    is an object that is passed to the offloading runtime at program startup

    and it describes all device images available in the executable or shared

    library. It is defined as follows

    __attribute__((visibility("hidden")))

    extern __tgt_offload_entry *__start_omp_offloading_entries;

    __attribute__((visibility("hidden")))

    extern __tgt_offload_entry *__stop_omp_offloading_entries;

    static const char Image0[] = {

    <Bufs

    .front() contents> };

    ...

    static const char ImageN[] = {

    <Bufs

    .back() contents> };

    static const __tgt_device_image Images[] = {

    {

    Image0, /*ImageStart*/

    Image0 + sizeof(Image0), /*ImageEnd*/

    __start_omp_offloading_entries, /*EntriesBegin*/

    __stop_omp_offloading_entries /*EntriesEnd*/

    },

    ...

    {

    ImageN, /*ImageStart*/

    ImageN + sizeof(ImageN), /*ImageEnd*/

    __start_omp_offloading_entries, /*EntriesBegin*/

    __stop_omp_offloading_entries /*EntriesEnd*/

    }

    };

    static const __tgt_bin_desc BinDesc = {

    sizeof(Images) / sizeof(Images[0]), /*NumDeviceImages*/

    Images, /*DeviceImages*/

    __start_omp_offloading_entries, /*HostEntriesBegin*/

    __stop_omp_offloading_entries /*HostEntriesEnd*/

    };

    Global variable that represents BinDesc is returned.

    Defined at line 126 of file llvm/lib/Frontend/Offloading/OffloadWrapper.cpp

  • unsigned int getDividerWidth (const CoverageViewOptions & Opts)

    The width of the line that is used to divide between the view and

    the subviews.

    Defined at line 127 of file llvm/tools/llvm-cov/SourceCoverageViewText.cpp

  • bool operator== (const Constructable & c0, const Constructable & c1)

    Defined at line 127 of file llvm/unittests/ADT/SmallVectorTest.cpp

  • FunctionType * getCheckFunctionType (LLVMContext & Ctx)

    Defined at line 128 of file llvm/lib/CodeGen/JMCInstrumenter.cpp

  • FixedPointSemantics getPadULFractSema ()

    Defined at line 129 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • Instruction * findTerminatingInstruction (BasicBlock & BB)

    Find the basic block's terminating instruction.

    Special care is needed to handle musttail and deopt calls, as these behave

    like (but are in fact not) terminators.

    Defined at line 129 of file llvm/lib/Transforms/Utils/Debugify.cpp

  • Error parseCFI (dwarf::CIE & C, ArrayRef Instructions, optional Size)

    Defined at line 129 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugFrameTest.cpp

  • void appendNestedCountedRegions (const std::vector<CountedRegion> & Src, std::vector<NestedCountedRegion> & Dst)

    Defined at line 130 of file llvm/tools/llvm-cov/CoverageExporterLcov.cpp

  • template <llvm::endianness Endianness>
    void registerExistingGOTEntries (LinkGraph & G, ppc64::TOCTableManager<Endianness> & TOC)

    Register preexisting GOT entries with TOC table manager.

    Defined at line 130 of file llvm/lib/ExecutionEngine/JITLink/ELF_ppc64.cpp

  • void TestRange (const ConstantRange & CR, const SmallBitVector & Elems, function_ref PreferenceFn, ArrayRef Inputs, bool CheckOptimality)

    Check whether constant range CR is an optimal approximation of the set

    Elems under the given PreferenceFn. The preference function should return

    true if the first range argument is strictly preferred to the second one.

    Defined at line 130 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • bool operator!= (const Constructable & c0, const Constructable & c1)

    Defined at line 131 of file llvm/unittests/ADT/SmallVectorTest.cpp

  • template <typename T>
    Colors determineCoveragePercentageColor (const T & Info)

    Return the color which correponds to the coverage percentage of a

    certain metric.

    Defined at line 131 of file llvm/tools/llvm-cov/CoverageReport.cpp

  • Slice createSliceFromIR (const IRObjectFile & IRO, unsigned int Align)

    Defined at line 131 of file llvm/tools/llvm-lipo/llvm-lipo.cpp

  • void MetaRename (Module & M, function_ref<TargetLibraryInfo &(Function &)> GetTLI)

    Defined at line 131 of file llvm/lib/Transforms/Utils/MetaRenamer.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const WasmRelocationEntry & Rel)

    Defined at line 132 of file llvm/lib/MC/WasmObjectWriter.cpp

  • Globals & getGlobals ()

    Defined at line 132 of file llvm/lib/Support/DynamicLibrary.cpp

  • bool containsPointer (const MDNode * MD)

    Defined at line 132 of file llvm/lib/Transforms/Instrumentation/AllocToken.cpp

  • void BM_Make_ (benchmark::State & state, std::string (*)(const std::vector<std::string> &) GenerateCaseList)

    Defined at line 132 of file llvm/benchmarks/SpecialCaseListBM.cpp

  • BogusTargetMachine * createTargetMachine ()

    Defined at line 133 of file llvm/unittests/CodeGen/MFCommon.inc

  • ErrorOr<std::string> findClang (const char * Argv0, StringRef Triple)

    Defined at line 133 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • Module * getExternal (LLVMContext & Ctx, StringRef FuncName)

    Defined at line 134 of file llvm/unittests/Linker/LinkModulesTest.cpp

  • Function * createDefaultCheckFunction (Module & M, bool UseX86FastCall)

    Defined at line 134 of file llvm/lib/CodeGen/JMCInstrumenter.cpp

  • template <typename StructType>
    size_t writeLoadCommandData (MachOYAML::LoadCommand & LC, raw_ostream & OS, bool IsLittleEndian)

    Defined at line 135 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • FixedPointSemantics getU8Neg10 ()

    Defined at line 135 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • basic_string gtest_BitstreamWriterFlushCasesBitstreamWriterFlushTest_EvalGenerateName_ (const ::testing::TestParamInfo<BitstreamWriterFlushTest::ParamType> & info)

    Defined at line 136 of file llvm/unittests/Bitstream/BitstreamWriterTest.cpp

  • ParamGenerator gtest_BitstreamWriterFlushCasesBitstreamWriterFlushTest_EvalGenerator_ ()

    Defined at line 136 of file llvm/unittests/Bitstream/BitstreamWriterTest.cpp

  • bool operator< (const Constructable & c0, const Constructable & c1)

    Defined at line 136 of file llvm/unittests/ADT/SmallVectorTest.cpp

  • void NotifyDebugger (jit_code_entry * JITCodeEntry)

    Do the registration.

    Defined at line 136 of file llvm/lib/ExecutionEngine/GDBRegistrationListener.cpp

  • int parseIR (LLVMContext & Context, const char * IR)

    Defined at line 137 of file llvm/unittests/CodeGen/PassManagerTest.cpp

  • bool unlikelyExecuted (BasicBlock & BB)

    Defined at line 137 of file llvm/lib/Transforms/IPO/HotColdSplitting.cpp

  • Error parseCFI (dwarf::FDE & FDE, ArrayRef Instructions)

    Defined at line 138 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugFrameTest.cpp

  • llvm::raw_ostream & operator<< (llvm::raw_ostream & OS, const EqClassKey & K)

    Defined at line 138 of file llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp

  • bool isNewFormatTypeNode (const MDNode * N)

    isNewFormatTypeNode - Return true iff the given type node is in the new

    size-aware format.

    Defined at line 138 of file llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp

  • void testHandleMove (MachineFunction & MF, LiveIntervals & LIS, unsigned int From, unsigned int To, unsigned int BlockNum)

    Move instruction number

    in front of instruction number

    and

    update affected liveness intervals with LiveIntervalAnalysis::handleMove().

    Defined at line 138 of file llvm/unittests/MI/LiveIntervalTest.cpp

  • int createMachineFunction (LLVMContext & Ctx, Module & M, const Twine & Name)

    Defined at line 138 of file llvm/unittests/CodeGen/MFCommon.inc

  • AssertionResult verifyListOrder (Function * F, ArrayRef RefOrder)

    Verify that blocks in

    are in the same relative order in the

    linked lists of blocks in

    The linked list may contain additional

    blocks in-between.

    While the order in the linked list is not relevant for semantics, keeping

    the order roughly in execution order makes its printout easier to read.

    Defined at line 138 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • bool operator<= (const Constructable & c0, const Constructable & c1)

    Defined at line 139 of file llvm/unittests/ADT/SmallVectorTest.cpp

  • raw_ostream & operator<< (raw_ostream & OS, BitRange R)

    Defined at line 139 of file llvm/utils/TableGen/DecoderTableEmitter.cpp

  • unsigned int getNumRedundantPathComponents (ArrayRef Paths)

    Get the number of redundant path components in each path in

    Defined at line 139 of file llvm/tools/llvm-cov/CoverageReport.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const StoreToLoadForwardingCandidate & Cand)

    Defined at line 140 of file llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp

  •  fromJITSymbolFlags (JITSymbolFlags JSF)

    Defined at line 140 of file llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp

  • template <>
    size_t writeLoadCommandData<llvm::MachO::segment_command> (MachOYAML::LoadCommand & LC, raw_ostream & OS, bool IsLittleEndian)

    Defined at line 140 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • void relaxAlign (ExecutorAddr Loc, const Edge & E, uint32_t & Remove, Edge::Kind & NewEdgeKind)

    Defined at line 140 of file llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp

  • size_t parent_path_end (StringRef path, Style style)

    Returns the position past the end of the "parent path" of path. The parent

    path will not end in '/', unless the parent is the root directory. If the

    path has no parent, 0 is returned.

    Defined at line 140 of file llvm/lib/Support/Path.cpp

  • template <typename ELFT>
    Expected<std::unique_ptr<DyldELFObject<ELFT>>> createRTDyldELFObject (MemoryBufferRef Buffer, const ObjectFile & SourceObject, const LoadedELFObjectInfo & L)

    Defined at line 140 of file llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp

  • template <typename T, int W>
    void writePatchableULEB (raw_pwrite_stream & Stream, T Value, uint64_t Offset)

    Write Value as an (unsigned) LEB value at offset Offset in Stream, padded

    to allow patching.

    Defined at line 141 of file llvm/lib/MC/WasmObjectWriter.cpp

  • Array renderMCDCRecord (const coverage::MCDCRecord & Record)

    Defined at line 141 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • Error extractFromArchive (const Archive & Library, SmallVectorImpl<OffloadFile> & Binaries)

    Defined at line 141 of file llvm/lib/Object/OffloadBinary.cpp

  • FixedPointSemantics getS16Neg18 ()

    Defined at line 142 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • template <typename CalleeTy>
    raw_ostream & operator<< (raw_ostream & OS, const UseInfo<CalleeTy> & U)

    Defined at line 142 of file llvm/lib/Analysis/StackSafetyAnalysis.cpp

  • void BM_True_ (benchmark::State & state, std::string (*)(const std::vector<std::string> &) GenerateCaseList)

    Defined at line 142 of file llvm/benchmarks/SpecialCaseListBM.cpp

  • bool operator> (const Constructable & c0, const Constructable & c1)

    Defined at line 143 of file llvm/unittests/ADT/SmallVectorTest.cpp

  • double jumpExtTSPScore (uint64_t JumpDist, uint64_t JumpMaxDist, uint64_t Count, double Weight)

    Compute the Ext-TSP score for a given jump.

    Defined at line 143 of file llvm/lib/Transforms/Utils/CodeLayout.cpp

  • template <typename Fn>
    void EnumerateConstantFPRanges (Fn TestFn, SparseLevel Level, bool IgnoreSNaNs)

    Defined at line 143 of file llvm/unittests/IR/ConstantFPRangeTest.cpp

  • void checkDefaultPrologue (uint16_t Version, DwarfFormat Format, Prologue Prologue, uint64_t BodyLength)

    Defined at line 143 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • void appendNestedCountedRegions (const std::vector<NestedCountedRegion> & Src, std::vector<NestedCountedRegion> & Dst)

    Defined at line 144 of file llvm/tools/llvm-cov/CoverageExporterLcov.cpp

  • void handleLibLTODiagnostic ( Severity, const char * Msg, void * )

    Defined at line 145 of file llvm/tools/lto/lto.cpp

  • basic_string gtest_DIETestParamsDIEDeltaFixture_EvalGenerateName_ (const int & info)

    Defined at line 146 of file llvm/unittests/CodeGen/DIETest.cpp

  • int gtest_DIETestParamsDIEDeltaFixture_EvalGenerator_ ()

    Defined at line 146 of file llvm/unittests/CodeGen/DIETest.cpp

  • bool operator>= (const Constructable & c0, const Constructable & c1)

    Defined at line 147 of file llvm/unittests/ADT/SmallVectorTest.cpp

  • template <llvm::endianness Endianness>
    Error buildTables_ELF_ppc64 (LinkGraph & G)

    Defined at line 148 of file llvm/lib/ExecutionEngine/JITLink/ELF_ppc64.cpp

  • template <typename T, typename IterT>
    std::optional<T> findCommonBetweenCollections (IterT A, IterT B)

    Defined at line 149 of file llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp

  • void TestAddSubExhaustive (bool IsAdd)

    Defined at line 149 of file llvm/unittests/Support/KnownBitsTest.cpp

  • FixedPointSemantics getU8Pos4 ()

    Defined at line 150 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • Module * getInternal (LLVMContext & Ctx)

    Defined at line 150 of file llvm/unittests/Linker/LinkModulesTest.cpp

  • template <typename T, size_t N>
    T * begin (T (&)[N] arr)

    Defined at line 151 of file llvm/unittests/ADT/HashingTest.cpp

  • template <typename T, int W>
    void writePatchableSLEB (raw_pwrite_stream & Stream, T Value, uint64_t Offset)

    Write Value as an signed LEB value at offset Offset in Stream, padded

    to allow patching.

    Defined at line 151 of file llvm/lib/MC/WasmObjectWriter.cpp

  • Array renderRegions (ArrayRef Regions)

    Defined at line 151 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • template <typename T, size_t N>
    T * end (T (&)[N] arr)

    Defined at line 152 of file llvm/unittests/ADT/HashingTest.cpp

  • basic_string gtest_DirectiveNameParserTestParseInvalid_EvalGenerateName_ (const ::testing::TestParamInfo<ParseInvalid::ParamType> & info)

    Defined at line 152 of file llvm/unittests/Frontend/OpenMPDirectiveNameParserTest.cpp

  • ParamGenerator gtest_DirectiveNameParserTestParseInvalid_EvalGenerator_ ()

    Defined at line 152 of file llvm/unittests/Frontend/OpenMPDirectiveNameParserTest.cpp

  • bool sortNested (const NestedCountedRegion & I, const NestedCountedRegion & J)

    Defined at line 153 of file llvm/tools/llvm-cov/CoverageExporterLcov.cpp

  • void testHandleMoveIntoNewBundle (MachineFunction & MF, LiveIntervals & LIS, unsigned int From, unsigned int To, unsigned int BlockNum)

    Move instructions numbered

    inclusive through instruction number

    into a newly formed bundle and update affected liveness intervals

    with LiveIntervalAnalysis::handleMoveIntoNewBundle().

    Defined at line 153 of file llvm/unittests/MI/LiveIntervalTest.cpp

  • double extTSPScore (uint64_t SrcAddr, uint64_t SrcSize, uint64_t DstAddr, uint64_t Count, bool IsConditional)

    Compute the Ext-TSP score for a jump between a given pair of blocks,

    using their sizes, (estimated) addresses and the jump execution count.

    Defined at line 153 of file llvm/lib/Transforms/Utils/CodeLayout.cpp

  • void checkUnspecifiedParameters (LVReader * Reader)

    Check proper handling of DW_AT_unspecified_parameters in

    LVScope::addMissingElements().

    Defined at line 153 of file llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp

  • ConstantRange getStaticAllocaSizeRange (const AllocaInst & AI)

    Calculate the allocation size of a given alloca. Returns empty range

    in case of confution.

    Defined at line 153 of file llvm/lib/Analysis/StackSafetyAnalysis.cpp

  • BasicBlock * NewLeafBlock (CaseRange & Leaf, Value * Val, ConstantInt * LowerBound, ConstantInt * UpperBound, BasicBlock * OrigBlock, BasicBlock * Default)

    Create a new leaf block for the binary lookup tree. It checks if the

    switch's value == the case's value. If not, then it jumps to the default

    branch. At this point in the tree, the value can't be another valid case

    value, so the jump to the "default" branch is warranted.

    Defined at line 154 of file llvm/lib/Transforms/Utils/LowerSwitch.cpp

  • void checkData (UUPoint Point, const UUData * Data, UUPoint Left, UUPoint Right, UUValue Value)

    Defined at line 155 of file llvm/unittests/ADT/IntervalTreeTest.cpp

  • void checkElementPropertiesMsvcCodeview (LVReader * Reader)

    Check the logical elements basic properties (MSVC - Codeview).

    Defined at line 155 of file llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp

  • DenseSet toSymbolNameSet ( Symbols)

    Defined at line 156 of file llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp

  • template <>
    size_t writeLoadCommandData<llvm::MachO::segment_command_64> (MachOYAML::LoadCommand & LC, raw_ostream & OS, bool IsLittleEndian)

    Defined at line 156 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • hash_code hash_value (HashableDummy dummy)

    Defined at line 157 of file llvm/unittests/ADT/HashingTest.cpp

  • FixedPointSemantics getS32Pos2 ()

    Defined at line 157 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • void writePatchableU32 (raw_pwrite_stream & Stream, uint32_t Value, uint64_t Offset)

    Defined at line 158 of file llvm/lib/MC/WasmObjectWriter.cpp

  • Array renderBranchRegions (ArrayRef Regions)

    Defined at line 158 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • template <typename Fn>
    void EnumerateTwoInterestingConstantFPRanges (Fn TestFn, SparseLevel Level)

    Defined at line 158 of file llvm/unittests/IR/ConstantFPRangeTest.cpp

  • bool ApplyCloning (MachineFunction & MF, const int & ClonePaths)

    Applies all clonings specified in `ClonePaths` to `MF`. Returns true

    if any clonings have been applied.

    Defined at line 158 of file llvm/lib/CodeGen/BasicBlockPathCloning.cpp

  • basic_string gtest_PGOInstrumetationGenTestSuitePGOInstrumentationGenTest_EvalGenerateName_ (const int & info)

    Defined at line 159 of file llvm/unittests/Transforms/Instrumentation/PGOInstrumentationTest.cpp

  • int gtest_PGOInstrumetationGenTestSuitePGOInstrumentationGenTest_EvalGenerator_ ()

    Defined at line 159 of file llvm/unittests/Transforms/Instrumentation/PGOInstrumentationTest.cpp

  • void BM_False (benchmark::State & state, std::string (*)(const std::vector<std::string> &) GenerateCaseList)

    Defined at line 159 of file llvm/benchmarks/SpecialCaseListBM.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const PrintArg & )

    Defined at line 160 of file llvm/lib/Support/CommandLine.cpp

  • void checkData (UUPoint Point, find_iterator Iter, UUPoint Left, UUPoint Right, UUValue Value)

    Defined at line 160 of file llvm/unittests/ADT/IntervalTreeTest.cpp

  • Expected getUnwindingRecord (LinkGraph & G)

    Defined at line 160 of file llvm/lib/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.cpp

  • void combineInstanceCounts (std::vector<NestedCountedRegion> & Branches)

    Defined at line 161 of file llvm/tools/llvm-cov/CoverageExporterLcov.cpp

  • bool relaxBlock (LinkGraph & G, Block & Block, BlockRelaxAux & Aux)

    Defined at line 161 of file llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp

  • int printError (Error E, Twine File)

    Defined at line 162 of file llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp

  • void writePatchableS32 (raw_pwrite_stream & Stream, int32_t Value, uint64_t Offset)

    Defined at line 163 of file llvm/lib/MC/WasmObjectWriter.cpp

  • void findCalls (Function * F, RuntimeFunction FnID, OpenMPIRBuilder & OMPBuilder, SmallVectorImpl<CallInst *> & Calls)

    Populate Calls with call instructions calling the function with the given

    FnID from the given function F.

    Defined at line 163 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • void CheckUnpaddedMax (const FixedPointSemantics & Sema)

    Defined at line 164 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • DenseMap toSymbolMap (LLVMOrcCSymbolMapPairs Syms, size_t NumPairs)

    Defined at line 164 of file llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp

  • bool mayExtractBlock (const BasicBlock & BB)

    Check whether it's safe to outline

    Defined at line 164 of file llvm/lib/Transforms/IPO/HotColdSplitting.cpp

  • const Module * unwrapModule (Any IR, bool Force)

    Extract Module out of

    unit. May return nullptr if

    does not match

    certain global filters. Will never return nullptr if

    is true.

    Defined at line 164 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • basic_string gtest_DIETestParamsDIELocListFixture_EvalGenerateName_ (const int & info)

    Defined at line 165 of file llvm/unittests/CodeGen/DIETest.cpp

  • int gtest_DIETestParamsDIELocListFixture_EvalGenerator_ ()

    Defined at line 165 of file llvm/unittests/CodeGen/DIETest.cpp

  • basic_string gtest_PrmitiveSpecifiersDataLayoutPrimitiveSpecificationTest_EvalGenerateName_ (const ::testing::TestParamInfo<DataLayoutPrimitiveSpecificationTest::ParamType> & info)

    Defined at line 165 of file llvm/unittests/IR/DataLayoutTest.cpp

  • ParamGenerator gtest_PrmitiveSpecifiersDataLayoutPrimitiveSpecificationTest_EvalGenerator_ ()

    Defined at line 165 of file llvm/unittests/IR/DataLayoutTest.cpp

  • void sortChainInBBOrder (Chain & C)

    Defined at line 165 of file llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp

  • Array renderMCDCRecords (ArrayRef Records)

    Defined at line 166 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • template <>
    MemprofMetadataEqualsMatcherP<ExpectedVals_type> MemprofMetadataEquals (ExpectedVals_type gmock_p0)

    TODO: Use this matcher in existing tests.

    ExpectedVals should be a vector of expected MIBs and their allocation type

    and stack id contents in order, of type:

    std::vector

    <std

    ::pair

    <AllocationType

    , std::vector

    <unsigned

    >>>

    Defined at line 167 of file llvm/unittests/Analysis/MemoryProfileInfoTest.cpp

  • bool isUsableArch (ArchType Arch)

    Defined at line 167 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • void writePatchableU64 (raw_pwrite_stream & Stream, uint64_t Value, uint64_t Offset)

    Defined at line 168 of file llvm/lib/MC/WasmObjectWriter.cpp

  • uint64_t getCtorAndDtorPriority (Triple & TargetTriple)

    Defined at line 168 of file llvm/lib/Transforms/Instrumentation/MemProfInstrumentation.cpp

  • template <typename T>
    ArrayRef toBytes (const T & Input)

    Defined at line 168 of file llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

  • void CheckPaddedMax (const FixedPointSemantics & Sema)

    Defined at line 169 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • void sortChainInOffsetOrder (Chain & C)

    Defined at line 169 of file llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp

  • unsigned int getRedundantPrefixLen (ArrayRef Paths)

    Determine the length of the longest redundant prefix of the paths in

    Defined at line 169 of file llvm/tools/llvm-cov/CoverageReport.cpp

  • void CompileTest ()

    Defined at line 170 of file llvm/unittests/ADT/SmallVectorTest.cpp

  • template <typename Fn>
    void EnumerateValuesInConstantFPRange (const ConstantFPRange & CR, Fn TestFn, bool IgnoreNaNPayload)

    Defined at line 170 of file llvm/unittests/IR/ConstantFPRangeTest.cpp

  • basic_string gtest_ARMCPUTestsPart1ARMCPUTestFixture_EvalGenerateName_ (const ::testing::TestParamInfo<ARMCPUTestFixture::ParamType> & info)

    Note that we include ARM::AEK_NONE even when there are other extensions

    we expect. This is because the default extensions for a CPU are the sum

    of the default extensions for its architecture and for the CPU.

    So if a CPU has no extra extensions, it adds AEK_NONE.

    Defined at line 172 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • ParamGenerator gtest_ARMCPUTestsPart1ARMCPUTestFixture_EvalGenerator_ ()

    Note that we include ARM::AEK_NONE even when there are other extensions

    we expect. This is because the default extensions for a CPU are the sum

    of the default extensions for its architecture and for the CPU.

    So if a CPU has no extra extensions, it adds AEK_NONE.

    Defined at line 172 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • size_t writePayloadString (MachOYAML::LoadCommand & LC, raw_ostream & OS)

    Defined at line 172 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • template <typename Callable>
    int forEachCoff (object::Archive & Archive, StringRef Name, Callable Callback)

    Defined at line 172 of file llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp

  • void writePatchableS64 (raw_pwrite_stream & Stream, int64_t Value, uint64_t Offset)

    Defined at line 173 of file llvm/lib/MC/WasmObjectWriter.cpp

  • vector collectNestedBranches (const coverage::CoverageMapping & Coverage, ArrayRef Expansions)

    Defined at line 173 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • void CheckMin (const FixedPointSemantics & Sema)

    Defined at line 174 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • void testSplitAt (MachineFunction & MF, LiveIntervals & LIS, unsigned int SplitAt, unsigned int BlockNum)

    Split block numbered

    at instruction

    using

    MachineBasicBlock::splitAt updating liveness intervals.

    Defined at line 174 of file llvm/unittests/MI/LiveIntervalTest.cpp

  • DenseMap toSymbolDependenceMap (LLVMOrcCDependenceMapPairs Pairs, size_t NumPairs)

    Defined at line 174 of file llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp

  • void dumpChain (ArrayRef C)

    Defined at line 177 of file llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp

  • void insertModuleCtor (Module & M)

    Defined at line 177 of file llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp

  • void simplifyExternals (Module & M)

    Drop unused globals, and drop type information from function declarations.

    FIXME: If we made functions typeless then there would be no need to do this.

    Defined at line 177 of file llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp

  • CallInst * findSingleCall (Function * F, RuntimeFunction FnID, OpenMPIRBuilder & OMPBuilder)

    Assuming

    contains only one call to the function with the given

    return that call.

    Defined at line 178 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • void checkScopeModule (LVReader * Reader)

    Check the basic properties on parsed DW_TAG_module.

    Defined at line 178 of file llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp

  • void patchI32 (raw_pwrite_stream & Stream, uint32_t Value, uint64_t Offset)

    Write Value as a plain integer value at offset Offset in Stream.

    Defined at line 179 of file llvm/lib/MC/WasmObjectWriter.cpp

  • SanitizerCoverageOptions getOptions (int LegacyCoverageLevel)

    Defined at line 179 of file llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp

  • OwningBinary createELFDebugObject (const ObjectFile & Obj, const LoadedELFObjectInfo & L)

    Defined at line 179 of file llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp

  • void fail (const llvm::Twine & E)

    --------- ERROR HANDLING ---------

    Defined at line 181 of file llvm/tools/sancov/sancov.cpp

  • template <>
    size_t writeLoadCommandData<llvm::MachO::dylib_command> (MachOYAML::LoadCommand & LC, raw_ostream & OS, bool IsLittleEndian)

    Defined at line 181 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • void renderBranchExecutionCounts (raw_ostream & OS, const coverage::CoverageMapping & Coverage, const coverage::CoverageData & FileCoverage, bool UnifyInstances)

    Defined at line 181 of file llvm/tools/llvm-cov/CoverageExporterLcov.cpp

  • template <typename VectorT>
    void assertValuesInOrder (VectorT & v, size_t size)

    Assert that v contains the specified values, in order.

    Defined at line 182 of file llvm/unittests/ADT/SmallVectorTest.cpp

  • basic_string gtest_OnDiskTrieRawHashMapTestOnDiskTrieRawHashMapTestFixture_EvalGenerateName_ (const ::testing::TestParamInfo<OnDiskTrieRawHashMapTestFixture::ParamType> & info)

    Defined at line 185 of file llvm/unittests/CAS/OnDiskTrieRawHashMapTest.cpp

  • ParamGenerator gtest_OnDiskTrieRawHashMapTestOnDiskTrieRawHashMapTestFixture_EvalGenerator_ ()

    Defined at line 185 of file llvm/unittests/CAS/OnDiskTrieRawHashMapTest.cpp

  • ArchType getDefaultFallbackArch ()

    Defined at line 185 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • void failIf (bool B, const llvm::Twine & E)

    Defined at line 186 of file llvm/tools/sancov/sancov.cpp

  • void patchI64 (raw_pwrite_stream & Stream, uint64_t Value, uint64_t Offset)

    Defined at line 186 of file llvm/lib/MC/WasmObjectWriter.cpp

  • int parseIR (const char * IR)

    Defined at line 187 of file llvm/unittests/Analysis/CGSCCPassManagerTest.cpp

  • bool checkRegUnitInterference (LiveIntervals & LIS, const TargetRegisterInfo & TRI, const LiveInterval & VirtReg, MCRegister PhysReg)

    Helper function to test for interference between a hard register and a

    virtual register live ranges.

    Defined at line 187 of file llvm/unittests/MI/LiveIntervalTest.cpp

  • template <>
    size_t writeLoadCommandData<llvm::MachO::dylinker_command> (MachOYAML::LoadCommand & LC, raw_ostream & OS, bool IsLittleEndian)

    Defined at line 188 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • ScheduleKind getSchedKind (OMPScheduleType SchedType)

    Defined at line 188 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • SmallString getParseErrorMsg (TBDKey Key)

    Defined at line 189 of file llvm/lib/TextAPI/TextStubV5.cpp

  • Instruction * propagateMetadata (Instruction * I, const Chain & C)

    Defined at line 189 of file llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp

  • basic_string getClangClTriple ()

    Defined at line 189 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • void TestUnaryOpExhaustive (function_ref RangeFn, function_ref IntFn, function_ref PreferenceFn)

    Defined at line 189 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • const GPUInfo * getArchEntry (GPUKind AK, ArrayRef Table)

    Defined at line 189 of file llvm/lib/TargetParser/TargetParser.cpp

  • unsigned int getRedundantPrefixLen (ArrayRef Paths, unsigned int LCP)

    Determine the length of the longest redundant prefix of the substrs starts

    from

    in

    can't be empty. If there's only one

    element in

    the length of the substr is returned. Note this is

    differnet from the behavior of the function above.

    Defined at line 189 of file llvm/tools/llvm-cov/CoverageReport.cpp

  • LookupKind toLookupKind ( K)

    Defined at line 190 of file llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp

  • void failIfError (error_code Error)

    Defined at line 191 of file llvm/tools/sancov/sancov.cpp

  • void simpleUnion (UBitVec & Union, const UBitVec & LHS, const UBitVec & RHS)

    A simple implementation of set union, used to double-check the human

    "expected" answer.

    Defined at line 191 of file llvm/unittests/ADT/CoalescingBitVectorTest.cpp

  • bool isDwoSection (const MCSection & Sec)

    Defined at line 193 of file llvm/lib/MC/WasmObjectWriter.cpp

  • SmallString getSerializeErrorMsg (TBDKey Key)

    Defined at line 193 of file llvm/lib/TextAPI/TextStubV5.cpp

  • void collectFunctionsAndGlobalVariablesToExtract (SetVector<const GlobalValue *> & GVs, const Module & M, const EntryPointGroup & ModuleEntryPoints, const DependencyGraph & DG)

    Defined at line 193 of file llvm/lib/Transforms/Utils/SplitModuleByCategory.cpp

  • optional getAddressPointOffset (const GlobalVariable & VTableVar, StringRef CompatibleType)

    Return the address point offset of the given compatible type.

    Type metadata of a vtable specifies the types that can contain a pointer to

    this vtable, for example, `Base*` can be a pointer to an derived type

    but not vice versa. See also https://llvm.org/docs/TypeMetadata.html

    Defined at line 194 of file llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp

  • ctx_profile::ContextNode * createNode (std::vector<std::unique_ptr<char[]>> & Nodes, const SerializableCtxRepresentation & DC, ctx_profile::ContextNode * Next)

    Convert a DeserializableCtx into a ContextNode, potentially linking it to

    its sibling (e.g. callee at same callsite) "Next".

    Defined at line 194 of file llvm/lib/ProfileData/PGOCtxProfWriter.cpp

  • void checkElementSelection (LVReader * Reader)

    Check the logical elements selection.

    Defined at line 194 of file llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp

  • template <>
    size_t writeLoadCommandData<llvm::MachO::rpath_command> (MachOYAML::LoadCommand & LC, raw_ostream & OS, bool IsLittleEndian)

    Defined at line 195 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • template <typename VectorT>
    void assertEmpty (VectorT & v)

    Defined at line 195 of file llvm/unittests/ADT/SmallVectorTest.cpp

  • Object renderExpansion (const coverage::CoverageMapping & Coverage, const coverage::ExpansionRecord & Expansion)

    Defined at line 195 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • bool markFunctionCold (Function & F, bool UpdateEntryCount)

    Mark

    cold. Based on this assumption, also optimize it for minimum size.

    If

    is true (set when this is a new split function and

    module has profile data), set entry count to 0 to ensure treated as cold.

    Return true if the function is changed.

    Defined at line 195 of file llvm/lib/Transforms/IPO/HotColdSplitting.cpp

  • basic_string gtest_SkipValueTestParams1FormSkipValueFixture1_EvalGenerateName_ (const ::testing::TestParamInfo<FormSkipValueFixture1::ParamType> & info)

    Defined at line 196 of file llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

  • ParamGenerator gtest_SkipValueTestParams1FormSkipValueFixture1_EvalGenerator_ ()

    Defined at line 196 of file llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

  • raw_ostream & indent (raw_ostream & O, int size)

    Defined at line 196 of file llvm/examples/Kaleidoscope/Chapter9/toy.cpp

  • bool isInvariantLoad (const Instruction * I)

    Defined at line 196 of file llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp

  • template <typename T>
    void failIfError (const ErrorOr<T> & E)

    Defined at line 198 of file llvm/tools/sancov/sancov.cpp

  •  fromLookupKind (LookupKind K)

    Defined at line 200 of file llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp

  • basic_string getMingwTriple ()

    Defined at line 200 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • template <>
    size_t writeLoadCommandData<llvm::MachO::sub_framework_command> (MachOYAML::LoadCommand & LC, raw_ostream & OS, bool IsLittleEndian)

    Defined at line 202 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • void printIR (raw_ostream & OS, const Function * F)

    Defined at line 202 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • void failIfError (Error Err)

    Defined at line 202 of file llvm/tools/sancov/sancov.cpp

  • void testCommandLineTokenizer (ParserFunction * parse, StringRef Input, ArrayRef Output, bool MarkEOLs)

    Defined at line 202 of file llvm/unittests/Support/CommandLineTest.cpp

  • SanitizerCoverageOptions OverrideFromCL (SanitizerCoverageOptions Options)

    Defined at line 202 of file llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp

  • void reorder (Instruction * I)

    Reorders the instructions that I depends on (the instructions defining its

    operands), to ensure they dominate I.

    Defined at line 203 of file llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp

  • SampledInstrumentationConfig getSampledInstrumentationConfig ()

    Defined at line 204 of file llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp

  • template <typename AnalysisType>
    void doTest (StringRef MIRFunc, typename TestPassT<AnalysisType>::TestFx T, bool ShouldPass)

    Defined at line 204 of file llvm/unittests/MI/LiveIntervalTest.cpp

  • template <typename VectorT>
    void makeSequence (VectorT & v, int start, int end)

    Generate a sequence of values to initialize the vector.

    Defined at line 205 of file llvm/unittests/ADT/SmallVectorTest.cpp

  • Function * createUnregisterFunction (Module & M, GlobalVariable * BinDesc, StringRef Suffix)

    Defined at line 207 of file llvm/lib/Frontend/Offloading/OffloadWrapper.cpp

  • template <typename Fn>
    bool AnyOfValueInConstantFPRange (const ConstantFPRange & CR, Fn TestFn, bool IgnoreNaNPayload)

    Defined at line 207 of file llvm/unittests/IR/ConstantFPRangeTest.cpp

  • bool CheckAll (const ConstantRange & , const ConstantRange & )

    Defined at line 208 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • template <>
    size_t writeLoadCommandData<llvm::MachO::sub_umbrella_command> (MachOYAML::LoadCommand & LC, raw_ostream & OS, bool IsLittleEndian)

    Defined at line 208 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • void printIR (raw_ostream & OS, const Module * M)

    Defined at line 208 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • template <typename T>
    void failIfError (Expected<T> & E)

    Defined at line 209 of file llvm/tools/sancov/sancov.cpp

  • bool relaxOnce (LinkGraph & G, RelaxAux & Aux)

    Defined at line 209 of file llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp

  • Object renderSummary (const FileCoverageSummary & Summary)

    Defined at line 209 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • basic_string gtest_EmptySectionMIR2VecVocabEmptySectionTestFixture_EvalGenerateName_ (const int & info)

    Defined at line 210 of file llvm/unittests/CodeGen/MIR2VecTest.cpp

  • int gtest_EmptySectionMIR2VecVocabEmptySectionTestFixture_EvalGenerator_ ()

    Defined at line 210 of file llvm/unittests/CodeGen/MIR2VecTest.cpp

  • JITDylibLookupFlags toJITDylibLookupFlags ( LF)

    Defined at line 210 of file llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp

  • void expectAllowedClauses (Directive Dir, unsigned int Version, const ArrayRef<Clause> & AllowedClauses)

    Defined at line 211 of file llvm/unittests/Frontend/OpenACCTest.cpp

  • template <typename JsonT, typename StubT = JsonT>
    Expected<StubT> getRequiredValue (TBDKey Key, const Object * Obj, std::function<std::optional<JsonT> (const Object *, StringRef)> GetValue, std::function<std::optional<StubT> (JsonT)> Validate)

    Defined at line 211 of file llvm/lib/TextAPI/TextStubV5.cpp

  • void checkModifyNoUnsignedAndNoSignedWrap (StringRef Opc)

    Defined at line 211 of file llvm/unittests/FuzzMutate/StrategiesTest.cpp

  • template <typename T, unsigned N>
    unsigned int NumBuiltinElts (const SmallVector<T, N> & )

    Defined at line 212 of file llvm/unittests/ADT/SmallVectorTest.cpp

  • bool CheckCorrectnessOnly (const ConstantRange & , const ConstantRange & )

    Defined at line 212 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • Constant * getVTableAddressPointOffset (GlobalVariable * VTable, uint32_t AddressPointOffset)

    Return a constant representing the vtable's address point specified by the

    offset.

    Defined at line 212 of file llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp

  • void failIfNotEmpty (const llvm::Twine & E)

    Defined at line 213 of file llvm/tools/sancov/sancov.cpp

  • ctx_profile::ContextNode * createNode (std::vector<std::unique_ptr<char[]>> & Nodes, const std::vector<SerializableCtxRepresentation> & DCList)

    Convert a list of SerializableCtxRepresentation into a linked list of

    ContextNodes.

    Defined at line 213 of file llvm/lib/ProfileData/PGOCtxProfWriter.cpp

  • template <>
    size_t writeLoadCommandData<llvm::MachO::sub_client_command> (MachOYAML::LoadCommand & LC, raw_ostream & OS, bool IsLittleEndian)

    Defined at line 214 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • basic_string libPath (const std::string & BaseDir, const std::string & name)

    Defined at line 214 of file llvm/unittests/ExecutionEngine/Orc/LibraryResolverTest.cpp

  • PerfJITRecordBatch getRecords (ExecutionSession & ES, LinkGraph & G, std::atomic<uint64_t> & CodeIndex, bool EmitDebugInfo, bool EmitUnwindInfo)

    Defined at line 214 of file llvm/lib/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.cpp

  • bool CheckSingleElementsOnly (const ConstantRange & CR1, const ConstantRange & CR2)

    Defined at line 216 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • void diagnosticHandler (LLVMDiagnosticInfoRef DI, void * C)

    Defined at line 216 of file llvm/unittests/Linker/LinkModulesTest.cpp

  • std::optional<FTValueType> ftValueTypeFromType (Type * FT)

    If `FT` corresponds to a primitive FTValueType, return it.

    Defined at line 216 of file llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp

  • void checkElementAttributes (LVReader * Reader)

    Check the logical elements basic properties.

    Defined at line 216 of file llvm/unittests/DebugInfo/LogicalView/DWARFGeneratedTest.cpp

  • void printIR (raw_ostream & OS, const LazyCallGraph::SCC * C)

    Defined at line 218 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • void finalizeBlockRelax (LinkGraph & G, Block & Block, BlockRelaxAux & Aux)

    Defined at line 218 of file llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp

  • template <>
    size_t writeLoadCommandData<llvm::MachO::sub_library_command> (MachOYAML::LoadCommand & LC, raw_ostream & OS, bool IsLittleEndian)

    Defined at line 220 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • basic_string getPosixPath (const Twine & S)

    Replace back-slashes by front-slashes.

    Defined at line 220 of file llvm/unittests/Support/VirtualFileSystemTest.cpp

  • template <typename T>
    void failIfEmpty (const int & Ptr, const std::string & Message)

    Defined at line 220 of file llvm/tools/sancov/sancov.cpp

  • LazyCallGraph buildCG (Module & M)

    Defined at line 220 of file llvm/unittests/Analysis/LazyCallGraphTest.cpp

  • void filterModule (Module * M, function_ref<bool (const GlobalValue *)> ShouldKeepDefinition)

    Defined at line 220 of file llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp

  • bool identifyImportName (const COFFObjectFile & Obj, StringRef ObjName, int & Names, bool IsMsStyleImplib)

    To find the named of the imported DLL from an import library, we can either

    inspect the object files that form the import table entries, or we could

    just look at the archive member names, for MSVC style import libraries.

    Looking at the archive member names doesn't work for GNU style import

    libraries though, while inspecting the import table entries works for

    both. (MSVC style import libraries contain a couple regular object files

    for the header/trailers.)

    This implementation does the same as GNU dlltool does; look at the

    content of ".idata$7" sections, or for MSVC style libraries, look

    at ".idata$6" sections.

    For GNU style import libraries, there are also other data chunks in sections

    named ".idata$7" (entries to the IAT or ILT); these are distinguished

    by seeing that they contain relocations. (They also look like an empty

    string when looking for null termination.)

    Alternatively, we could do things differently - look for any .idata$2

    section; this would be import directory entries. At offset 0xc in them

    there is the RVA of the import DLL name; look for a relocation at this

    spot and locate the symbol that it points at. That symbol may either

    be within the same object file (in the case of MSVC style import libraries)

    or another object file (in the case of GNU import libraries).

    Defined at line 220 of file llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp

  • bool CheckNonWrappedOnly (const ConstantRange & CR1, const ConstantRange & CR2)

    Defined at line 221 of file llvm/unittests/IR/ConstantRangeTest.cpp

  •  fromJITDylibLookupFlags (JITDylibLookupFlags LF)

    Defined at line 221 of file llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp

  • void doCallGraphDOTPrinting (Module & M, function_ref LookupBFI)

    Defined at line 221 of file llvm/lib/Analysis/CallPrinter.cpp

  • ModuleDesc extractSubModule (const Module & M, const SetVector<const GlobalValue *> & GVs, EntryPointGroup && ModuleEntryPoints)

    Defined at line 222 of file llvm/lib/Transforms/Utils/SplitModuleByCategory.cpp

  • void liveIntervalTest (StringRef MIRFunc, int T, bool ShouldPass)

    Defined at line 223 of file llvm/unittests/MI/LiveIntervalTest.cpp

  • Instruction * getInstructionByName (Function & F, StringRef Name)

    Defined at line 224 of file llvm/unittests/Analysis/AliasAnalysisTest.cpp

  • basic_string withext (const std::string & lib)

    Defined at line 225 of file llvm/unittests/ExecutionEngine/Orc/LibraryResolverTest.cpp

  • template <typename T>
    size_t getTotalSize (const int & Shape)

    The ML advisor will typically have a sparse input to the evaluator, because

    various phys regs won't be available. It's easier (maintenance-wise) to

    bulk-reset the state of the evaluator each time we are about to use it

    again.

    Defined at line 225 of file llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp

  • uint64_t getIntModuleFlagOrZero (const Module & M, StringRef Flag)

    Defined at line 225 of file llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp

  • bool CheckNonSignWrappedOnly (const ConstantRange & CR1, const ConstantRange & CR2)

    Defined at line 226 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • BasicBlock * getUserBasicBlock (Use & U, Instruction * UserInst)

    Return the basic block in which Use `U` is used via its `UserInst`.

    Defined at line 226 of file llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp

  • template <>
    size_t writeLoadCommandData<llvm::MachO::build_version_command> (MachOYAML::LoadCommand & LC, raw_ostream & OS, bool IsLittleEndian)

    Defined at line 226 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • BasicBlock * SwitchConvert (__normal_iterator Begin, __normal_iterator End, ConstantInt * LowerBound, ConstantInt * UpperBound, Value * Val, BasicBlock * Predecessor, BasicBlock * OrigBlock, BasicBlock * Default, const std::vector<IntRange> & UnreachableRanges)

    Convert the switch statement into a binary lookup of the case values.

    The function recursively builds this tree. LowerBound and UpperBound are

    used to keep track of the bounds for Val that have already been checked by

    a block emitted by one of the previous calls to switchConvert in the call

    stack.

    Defined at line 226 of file llvm/lib/Transforms/Utils/LowerSwitch.cpp

  • void printIR (raw_ostream & OS, const Loop * L)

    Defined at line 227 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • bool operator== (const DbgVariableValue & LHS, const DbgVariableValue & RHS)

    Defined at line 227 of file llvm/lib/CodeGen/LiveDebugVariables.cpp

  • Type * typeFromFTValueType (FTValueType VT, LLVMContext & Context)

    Returns the LLVM type for an FTValueType.

    Defined at line 227 of file llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp

  • template <typename T>
    void readInts (const char * Start, const char * End, int * Ints)

    ----------- Coverage I/O ----------

    Defined at line 229 of file llvm/tools/sancov/sancov.cpp

  • bool isProfitable (uint64_t Count, uint64_t TotalCount)

    Defined at line 229 of file llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp

  • template <typename JsonT, typename StubT = JsonT>
    Expected<StubT> getRequiredValue (TBDKey Key, const Object * Obj, const std::function<std::optional<JsonT> (const Object *, StringRef)> GetValue, StubT DefaultValue, function_ref<std::optional<StubT> (JsonT)> Validate)

    Defined at line 229 of file llvm/lib/TextAPI/TextStubV5.cpp

  • template <>
    HasNameMatcherP<Name_type> HasName (Name_type gmock_p0)

    Define a custom matcher for objects which support a 'getName' method

    returning a StringRef.

    LLVM often has IR objects or analysis objects which expose a StringRef name

    and in tests it is convenient to match these by name for readability. This

    matcher supports any type exposing a getName() method of this form.

    It should be used as:

    HasName("my_function")

    No namespace or other qualification is required.

    Defined at line 230 of file llvm/unittests/Transforms/Scalar/LoopPassManagerTest.cpp

  • void createRegisterFunction (Module & M, GlobalVariable * BinDesc, StringRef Suffix)

    Defined at line 230 of file llvm/lib/Frontend/Offloading/OffloadWrapper.cpp

  • int64_t relativeShr (int64_t Int, int64_t Shift)

    Defined at line 231 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • bool CheckNoSignedWrappedLHSAndNoWrappedRHSOnly (const ConstantRange & CR1, const ConstantRange & CR2)

    Defined at line 231 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • basic_string platformSymbolName (const std::string & name)

    Defined at line 231 of file llvm/unittests/ExecutionEngine/Orc/LibraryResolverTest.cpp

  • void resetInputs (MLModelRunner & Runner)

    Defined at line 232 of file llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp

  • SymbolLookupFlags toSymbolLookupFlags ( SLF)

    Defined at line 232 of file llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp

  • void forEachVirtualFunction (Constant * C, function_ref<void (Function *)> Fn)

    Defined at line 233 of file llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp

  • void printIR (raw_ostream & OS, const MachineFunction * MF)

    Defined at line 234 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • bool enablesValueProfiling (const Module & M)

    Defined at line 235 of file llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp

  • void CheckIntPart (const FixedPointSemantics & Sema, int64_t IntPart)

    Defined at line 235 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • template <typename T>
    void SaturatingAddTestHelper ()

    Defined at line 235 of file llvm/unittests/Support/MathExtrasTest.cpp

  • void preprocess (StringRef Src, StringRef Dst, const RcOptions & Opts, const char * Argv0)

    Defined at line 236 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • bool operator!= (const DbgVariableValue & LHS, const DbgVariableValue & RHS)

    Defined at line 237 of file llvm/lib/CodeGen/LiveDebugVariables.cpp

  • bool CheckNonWrappedOrSignWrappedOnly (const ConstantRange & CR1, const ConstantRange & CR2)

    Defined at line 237 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • bool isDestBBSuitableForSink (Instruction * Inst, BasicBlock * DestBB)

    `DestBB` is a suitable basic block to sink `Inst` into when `Inst` have users

    and all users are in `DestBB`. The caller guarantees that `Inst->getParent()`

    is the sole predecessor of `DestBB` and `DestBB` is dominated by

    `Inst->getParent()`.

    Defined at line 237 of file llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp

  • void checkElementPropertiesMsvcLibraryCodeview (LVReader * Reader)

    Check the logical elements basic properties (MSVC library - Codeview).

    Defined at line 237 of file llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp

  • int parseIR (LLVMContext & C, const char * IR)

    Defined at line 238 of file llvm/unittests/Transforms/Scalar/LoopPassManagerTest.cpp

  • uint64_t getScaledCount (uint64_t Count, uint64_t Num, uint64_t Denom)

    Defined at line 238 of file llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp

  • AllocTokenOptions resolveOptions (AllocTokenOptions Opts, const Module & M)

    Apply opt overrides and module flags.

    Defined at line 238 of file llvm/lib/Transforms/Instrumentation/AllocToken.cpp

  • void renderLineSummary (raw_ostream & OS, const FileCoverageSummary & Summary)

    Defined at line 240 of file llvm/tools/llvm-cov/CoverageExporterLcov.cpp

  • void liveVariablesTest (StringRef MIRFunc, int T, bool ShouldPass)

    Defined at line 240 of file llvm/unittests/MI/LiveIntervalTest.cpp

  • basic_string getIRName (Any IR)

    Defined at line 240 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • bool profDataReferencedByCode (const Module & M)

    Conservatively returns true if value profiling is enabled.

    Defined at line 241 of file llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp

  • vector getValidAlignmentsForDeathTest ()

    We use a subset of valid alignments for DEATH_TESTs as they are particularly

    slow.

    Defined at line 241 of file llvm/unittests/Support/AlignmentTest.cpp

  • void ZeroFillBytes (raw_ostream & OS, size_t Size)

    Defined at line 241 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • raw_ostream & operator<< (raw_ostream & OS, ShapeInfo SI)

    Defined at line 242 of file llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp

  •  fromSymbolLookupFlags (SymbolLookupFlags SLF)

    Defined at line 242 of file llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp

  • ModuleDesc extractCallGraph (const Module & M, EntryPointGroup && ModuleEntryPoints, const DependencyGraph & DG)

    The function produces a copy of input LLVM IR module M with only those

    functions and globals that can be called from entry points that are specified

    in ModuleEntryPoints vector, in addition to the entry point functions.

    Defined at line 242 of file llvm/lib/Transforms/Utils/SplitModuleByCategory.cpp

  • const char * typeNameFromFTValueType (FTValueType VT)

    Returns the type name for an FTValueType.

    Defined at line 242 of file llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp

  • void viewCallGraph (Module & M, function_ref LookupBFI)

    Defined at line 243 of file llvm/lib/Analysis/CallPrinter.cpp

  • void cloneUsedGlobalVariables (const Module & SrcM, Module & DestM, bool CompilerUsed)

    Clone any

    [.compiler].used over to the new module and append

    values whose defs were cloned into that module.

    Defined at line 244 of file llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp

  • vector getNonPowerOfTwo ()

    Defined at line 245 of file llvm/unittests/Support/AlignmentTest.cpp

  • void renderBranchSummary (raw_ostream & OS, const FileCoverageSummary & Summary)

    Defined at line 245 of file llvm/tools/llvm-cov/CoverageExporterLcov.cpp

  • void TestBinaryOpExhaustive (function_ref RangeFn, function_ref IntFn, function_ref PreferenceFn, function_ref CheckFn)

    CheckFn determines whether optimality is checked for a given range pair.

    Correctness is always checked.

    Defined at line 245 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • Error collectFromArray (TBDKey Key, const Object * Obj, function_ref Append, bool IsRequired)

    Defined at line 245 of file llvm/lib/TextAPI/TextStubV5.cpp

  • void Fill (raw_ostream & OS, size_t Size, uint32_t Data)

    Defined at line 246 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • void checkElementComparison (LVReader * Reference, LVReader * Target)

    Check the logical elements comparison.

    Defined at line 247 of file llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp

  • Array renderFileExpansions (const coverage::CoverageMapping & Coverage, const coverage::CoverageData & FileCoverage)

    Defined at line 249 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • void renderFile (raw_ostream & OS, const coverage::CoverageMapping & Coverage, const std::string & Filename, const FileCoverageSummary & FileReport, bool ExportSummaryOnly, bool SkipFunctions, bool SkipBranches, bool UnifyInstances)

    Defined at line 250 of file llvm/tools/llvm-cov/CoverageExporterLcov.cpp

  •  fromExecutorSymbolDef (const ExecutorSymbolDef & S)

    Defined at line 252 of file llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp

  • basic_string formatted_bytes_str (ArrayRef Bytes, optional Offset, uint32_t NumPerLine, uint8_t ByteGroupSize)

    Defined at line 252 of file llvm/unittests/Support/raw_ostream_test.cpp

  • int doIdentify (StringRef File, bool IdentifyStrict)

    Defined at line 253 of file llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp

  • Array renderFileSegments (const coverage::CoverageData & FileCoverage)

    Defined at line 257 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • basic_string gtest_SkipValueTestParams2FormSkipValueFixture2_EvalGenerateName_ (const ::testing::TestParamInfo<FormSkipValueFixture2::ParamType> & info)

    Defined at line 259 of file llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

  • ParamGenerator gtest_SkipValueTestParams2FormSkipValueFixture2_EvalGenerator_ ()

    Defined at line 259 of file llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

  • bool moduleContainsFilterPrintFunc (const Module & M)

    Defined at line 260 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • basic_string mdToString (Metadata * MD)

    Helper function to convert type metadata to a string for testing

    Defined at line 261 of file llvm/unittests/Bitcode/BitReaderTest.cpp

  • bool enableUnifiedLTO (Module & M)

    Defined at line 263 of file llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp

  • basic_string format_bytes_with_ascii_str (ArrayRef Bytes, optional Offset, uint32_t NumPerLine, uint8_t ByteGroupSize)

    Defined at line 263 of file llvm/unittests/Support/raw_ostream_test.cpp

  • Array renderFileBranches (const coverage::CoverageData & FileCoverage)

    Defined at line 264 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • vector ReturnTest12 ()

    Defined at line 265 of file llvm/unittests/ADT/ArrayRefTest.cpp

  • basic_string returns (StringRef )

    Test that overloads on unique_functions are resolved as expected.

    Defined at line 266 of file llvm/unittests/ADT/FunctionExtrasTest.cpp

  • void ArgTest12 (ArrayRef A)

    Defined at line 266 of file llvm/unittests/ADT/ArrayRefTest.cpp

  • basic_string returns (unique_function F)

    Defined at line 267 of file llvm/unittests/ADT/FunctionExtrasTest.cpp

  • void finalizeRelax (LinkGraph & G, RelaxAux & Aux)

    Defined at line 267 of file llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp

  • bool tryToSinkInstruction (Instruction * I, BasicBlock * DestBlock)

    For the virtual call dispatch sequence, try to sink vtable load instructions

    to the cold indirect call fallback.

    FIXME: Move the sink eligibility check below to a utility function in

    Transforms/Utils/ directory.

    Defined at line 267 of file llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp

  • basic_string returns (unique_function F)

    Defined at line 268 of file llvm/unittests/ADT/FunctionExtrasTest.cpp

  • bool sccContainsFilterPrintFunc (const LazyCallGraph::SCC & C)

    Defined at line 268 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • void toYaml (yaml::Output & Out, const PGOCtxProfContext::CallTargetMapTy & CallTargets)

    Defined at line 269 of file llvm/lib/ProfileData/PGOCtxProfReader.cpp

  • vector getForwardTemplateReferenceTestcases ()

    A function to get a set of test cases for forward template references.

    Defined at line 269 of file llvm/unittests/ProfileData/ItaniumManglingCanonicalizerTest.cpp

  • void CheckIntPartMin (const FixedPointSemantics & Sema, int64_t Expected)

    Defined at line 270 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • Array renderFileMCDC (const coverage::CoverageData & FileCoverage)

    Defined at line 271 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • bool mustEmitToMergedModule (const GlobalValue * GV)

    Defined at line 272 of file llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp

  • Error relax (LinkGraph & G)

    Defined at line 272 of file llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp

  • StructType * getFatbinWrapperTy (Module & M)

    struct fatbin_wrapper {

    int32_t magic;

    int32_t version;

    void *image;

    void *reserved;

    };

    Defined at line 272 of file llvm/lib/Frontend/Offloading/OffloadWrapper.cpp

  • bool runImpl (LoopInfo * LI, LoopAccessInfoManager & LAIs, DominatorTree * DT, ScalarEvolution * SE)

    Defined at line 272 of file llvm/lib/Transforms/Utils/LoopVersioning.cpp

  • basic_string gtest_ARMCPUTestsPart2ARMCPUTestFixture_EvalGenerateName_ (const ::testing::TestParamInfo<ARMCPUTestFixture::ParamType> & info)

    gtest in llvm has a limit of 50 test cases when using ::Values so we split

    them into 2 blocks

    Defined at line 273 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • ParamGenerator gtest_ARMCPUTestsPart2ARMCPUTestFixture_EvalGenerator_ ()

    gtest in llvm has a limit of 50 test cases when using ::Values so we split

    them into 2 blocks

    Defined at line 273 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • bool operator< (const NMSymbol & A, const NMSymbol & B)

    Defined at line 273 of file llvm/tools/llvm-nm/llvm-nm.cpp

  • void CheckIntPartMax (const FixedPointSemantics & Sema, uint64_t Expected)

    Defined at line 275 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • void renderFiles (raw_ostream & OS, const coverage::CoverageMapping & Coverage, ArrayRef SourceFiles, ArrayRef FileReports, bool ExportSummaryOnly, bool SkipFunctions, bool SkipBranches, bool UnifyInstances)

    Defined at line 275 of file llvm/tools/llvm-cov/CoverageExporterLcov.cpp

  • bool shouldPrintIR (Any IR)

    Defined at line 276 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • void compareReadersViews (ReaderTestCompare * ReferenceReader, ReaderTestCompare * TargetReader)

    Compare the logical views.

    Defined at line 276 of file llvm/unittests/DebugInfo/LogicalView/CompareElementsTest.cpp

  • Object renderFile (const coverage::CoverageMapping & Coverage, const std::string & Filename, const FileCoverageSummary & FileReport, const CoverageViewOptions & Options)

    Defined at line 278 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • int parseIR (LLVMContext & C, const char * IR)

    Defined at line 279 of file llvm/unittests/IR/PassBuilderCallbacksTest.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const RawCoverage & CoverageData)

    Print coverage addresses.

    Defined at line 279 of file llvm/tools/sancov/sancov.cpp

  • void CheckIntPartRes (const FixedPointSemantics & Sema, int64_t Representation, uint64_t Result)

    Defined at line 280 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • void splitAndWriteThinLTOBitcode (raw_ostream & OS, raw_ostream * ThinLinkOS, function_ref<AAResults &(Function &)> AARGetter, Module & M, const bool ShouldPreserveUseListOrder)

    If it's possible to split M into regular and thin LTO parts, do so and write

    a multi-module bitcode file with the two parts to OS. Otherwise, write only a

    regular LTO bitcode file to OS.

    Defined at line 281 of file llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp

  • void toYaml (yaml::Output & Out, const PGOCtxProfContext::CallsiteMapTy & Callsites)

    Defined at line 282 of file llvm/lib/ProfileData/PGOCtxProfReader.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const CallsiteContextGraph<DerivedCCG, FuncTy, CallTy> & CCG)

    Defined at line 283 of file llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

  • void simpleIntersection (UBitVec & Intersection, const UBitVec & LHS, const UBitVec & RHS)

    A simple implementation of set intersection, used to double-check the

    human "expected" answer.

    Defined at line 284 of file llvm/unittests/ADT/CoalescingBitVectorTest.cpp

  • GlobalVariable * createFatbinDesc (Module & M, ArrayRef Image, bool IsHIP, StringRef Suffix)

    Embed the image

    into the module

    so it can be found by the

    runtime.

    Defined at line 284 of file llvm/lib/Frontend/Offloading/OffloadWrapper.cpp

  • bool SmallBitVectorIsSmallMode (const SmallBitVector & bv)

    Check if a SmallBitVector is in small mode. This check is used in tests

    that run for both SmallBitVector and BitVector. This check doesn't apply

    to BitVector so we provide an overload that returns true to get the tests

    to compile.

    Defined at line 285 of file llvm/unittests/ADT/BitVectorTest.cpp

  • template <typename IRUnitT>
    basic_string getName (const IRUnitT & IR)

    Helper for HasName matcher that returns getName both for IRUnit and

    for IRUnit pointer wrapper into llvm::Any (wrapped by PassInstrumentation).

    Defined at line 286 of file llvm/unittests/IR/PassBuilderCallbacksTest.cpp

  • bool operator> (const NMSymbol & A, const NMSymbol & B)

    Defined at line 287 of file llvm/tools/llvm-nm/llvm-nm.cpp

  • template <typename T>
    T optOr (int & Opt, T Other)

    Defined at line 287 of file llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

  • bool SmallBitVectorIsSmallMode (const BitVector & )

    Defined at line 288 of file llvm/unittests/ADT/BitVectorTest.cpp

  • bool operator== (const NMSymbol & A, const NMSymbol & B)

    Defined at line 288 of file llvm/tools/llvm-nm/llvm-nm.cpp

  • SmallVector selectEntryPointGroups (const Module & M, function_ref EPC)

    Defined at line 289 of file llvm/lib/Transforms/Utils/SplitModuleByCategory.cpp

  • basic_string getName (const StringRef & name)

    Defined at line 290 of file llvm/unittests/IR/PassBuilderCallbacksTest.cpp

  • bool shouldUsePageAliases (const Triple & TargetTriple)

    Defined at line 291 of file llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

  • basic_string getName (const Any & WrappedIR)

    Defined at line 294 of file llvm/unittests/IR/PassBuilderCallbacksTest.cpp

  • bool shouldInstrumentStack (const Triple & TargetTriple)

    Defined at line 295 of file llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

  • const Target * getTarget (Triple & TheTriple, const char * ProgName)

    Defined at line 295 of file llvm/tools/llvm-mca/llvm-mca.cpp

  • template <typename InstTy>
    Value * findStoredValue (Value * AllocaValue)

    Returns the value stored in the given allocation. Returns null if the given

    value is not a result of an InstTy instruction, if no value is stored or if

    there is more than one store.

    Defined at line 295 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • template <bool CanonicalizeFirst>
    void testTestcases (ArrayRef Testcases)

    Defined at line 295 of file llvm/unittests/ProfileData/ItaniumManglingCanonicalizerTest.cpp

  • std::pair<bool, std::string> isWindres (StringRef Argv0)

    Defined at line 296 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • void unwrapAndPrint (raw_ostream & OS, Any IR)

    Generic IR-printing helper that unpacks a pointer to IRUnit wrapped into

    Any and does actual print job.

    Defined at line 296 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • Array renderFiles (const coverage::CoverageMapping & Coverage, ArrayRef SourceFiles, ArrayRef FileReports, const CoverageViewOptions & Options)

    Defined at line 297 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • unique_ptr newd ()

    Defined at line 298 of file llvm/unittests/Support/Casting.cpp

  • unique_ptr newb ()

    Defined at line 299 of file llvm/unittests/Support/Casting.cpp

  • bool shouldInstrumentWithCalls (const Triple & TargetTriple)

    Defined at line 299 of file llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

  • bool matchesEitherUnderscore (const std::string & got, const std::string & bare)

    Helper: allow either "sayA" or "_sayA" depending on how your

    SymbolEnumerator reports.

    Defined at line 299 of file llvm/unittests/ExecutionEngine/Orc/LibraryResolverTest.cpp

  • void elementProperties (SmallString<128> & InputsDir)

    Logical elements properties.

    Defined at line 302 of file llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp

  • bool mightUseStackSafetyAnalysis (bool DisableOptimization)

    Defined at line 303 of file llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

  • void checkElementPropertiesMsvcCodeviewPdb (LVReader * Reader)

    Check the logical elements basic properties (MSVC - PDB).

    Defined at line 303 of file llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp

  • template <typename T>
    void SaturatingMultiplyTestHelper ()

    Defined at line 304 of file llvm/unittests/Support/MathExtrasTest.cpp

  • bool endsWith (const std::string & s, const std::string & suffix)

    Helper: normalize path ending check (we only care that it resolved to the

    right dylib)

    Defined at line 306 of file llvm/unittests/ExecutionEngine/Orc/LibraryResolverTest.cpp

  • bool shouldUseStackSafetyAnalysis (const Triple & TargetTriple, bool DisableOptimization)

    Defined at line 307 of file llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

  • Metadata * getTypeMetadataEntry (unsigned int TypeID, LLVMContext & Context, function GetTypeByID, function GetContainedTypeID)

    Recursively look into a (pointer) type and the the type.

    For primitive types it's a poison value of the type, for a pointer it's a

    metadata tuple with the addrspace and the referenced type. For a function,

    it's a tuple where the first element is the string "function", the second

    element is the return type or the string "void" and the following elements

    are the argument types.

    Defined at line 307 of file llvm/unittests/Bitcode/BitReaderTest.cpp

  • unsigned int Clusterify (CaseVector & Cases, SwitchInst * SI)

    Transform simple list of

    cases into list of CaseRange's

    Defined at line 307 of file llvm/lib/Transforms/Utils/LowerSwitch.cpp

  • void toYaml (yaml::Output & Out, GlobalValue::GUID Guid, const SmallVectorImpl<uint64_t> & Counters, const PGOCtxProfContext::CallsiteMapTy & Callsites, optional TotalRootEntryCount, map Unhandled)

    Defined at line 307 of file llvm/lib/ProfileData/PGOCtxProfReader.cpp

  • bool isUARSafeCall (CallInst * CI)

    Defined at line 308 of file llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp

  • ErrorOr getOutputStream ()

    Defined at line 309 of file llvm/tools/llvm-mca/llvm-mca.cpp

  • Format parseFormat (StringRef S)

    Defined at line 309 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • Incomplete incompleteFunction ()

    Incomplete function returning an incomplete type

    Defined at line 310 of file llvm/unittests/ADT/FunctionExtrasTest.cpp

  • Incomplete incompleteFunctionConst ()

    Defined at line 311 of file llvm/unittests/ADT/FunctionExtrasTest.cpp

  • bool shouldDetectUseAfterScope (const Triple & TargetTriple)

    Defined at line 313 of file llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

  • int tryToSinkInstructions (BasicBlock * OriginalBB, BasicBlock * IndirectCallBB)

    Try to sink instructions after VPtr to the indirect call fallback.

    Return the number of sunk IR instructions.

    Defined at line 313 of file llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp

  • Value * findStoredValueInAggregateAt (LLVMContext & Ctx, Value * Aggregate, unsigned int Idx)

    Returns the value stored in the aggregate argument of an outlined function,

    or nullptr if it is not found.

    Defined at line 313 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const CoverageStats & Stats)

    Defined at line 316 of file llvm/tools/sancov/sancov.cpp

  • template <>
    HasNameMatcherP<Name_type> HasName (Name_type gmock_p0)

    Define a custom matcher for objects which support a 'getName' method.

    LLVM often has IR objects or analysis objects which expose a name

    and in tests it is convenient to match these by name for readability.

    Usually, this name is either a StringRef or a plain std::string. This

    matcher supports any type exposing a getName() method of this form whose

    return value is compatible with an std::ostream. For StringRef, this uses

    the shift operator defined above.

    It should be used as:

    HasName("my_function")

    No namespace or other qualification is required.

    Defined at line 320 of file llvm/unittests/IR/PassBuilderCallbacksTest.cpp

  • void deduceFormat (Format & Dest, StringRef File)

    Defined at line 320 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • basic_string gtest_AllowedExplicitExpressionFormatExpressionFormatParameterisedFixture_EvalGenerateName_ (const ::testing::TestParamInfo<ExpressionFormatParameterisedFixture::ParamType> & info)

    Defined at line 321 of file llvm/unittests/FileCheck/FileCheckTest.cpp

  • ParamGenerator gtest_AllowedExplicitExpressionFormatExpressionFormatParameterisedFixture_EvalGenerator_ ()

    Defined at line 321 of file llvm/unittests/FileCheck/FileCheckTest.cpp

  • Value * getNeutralReductionElement (const VPReductionIntrinsic & VPI, Type * EltTy)

    Defined at line 322 of file llvm/lib/CodeGen/ExpandVectorPredication.cpp

  • void compareReadersElements (ReaderTestCompare * ReferenceReader, ReaderTestCompare * TargetReader)

    Compare the logical elements.

    Defined at line 322 of file llvm/unittests/DebugInfo/LogicalView/CompareElementsTest.cpp

  • bool hasUseAfterReturnUnsafeUses (Value & V)

    Defined at line 324 of file llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp

  • template <>
    HasNameRegexMatcherP<Name_type> HasNameRegex (Name_type gmock_p0)

    Defined at line 325 of file llvm/unittests/IR/PassBuilderCallbacksTest.cpp

  • Array renderFunctions (const iterator_range<coverage::FunctionRecordIterator> & Functions)

    Defined at line 327 of file llvm/tools/llvm-cov/CoverageExporterJson.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const CallInfo & Call)

    Defined at line 330 of file llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

  • basic_string unescape (StringRef S)

    Defined at line 331 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • basic_string gtest_ExtractValueErrorParamsExtractValueErrorFixture_EvalGenerateName_ (const ::testing::TestParamInfo<ExtractValueErrorFixture::ParamType> & info)

    Defined at line 333 of file llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

  • ParamGenerator gtest_ExtractValueErrorParamsExtractValueErrorFixture_EvalGenerator_ ()

    Defined at line 333 of file llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

  • void VerfyOperandShuffled (StringRef Source, pair ShuffleItems)

    The caller has to guarantee that function argument are used in the SAME

    place as the operand.

    Defined at line 333 of file llvm/unittests/FuzzMutate/StrategiesTest.cpp

  • void operator<< (json::OStream & W, const int & Points)

    Output symbolized information for coverage points in JSON.

    Format:

    {

    '

    <file

    _name>' : {

    '

    <function

    _name>' : {

    '

    <point

    _id'> : '

    <line

    _number>:'

    <column

    _number'.

    ....

    }

    }

    }

    Defined at line 334 of file llvm/tools/sancov/sancov.cpp

  • bool isIgnored (StringRef PassID)

    Return true when this is a pass for which changes should be ignored

    Defined at line 335 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • MemoryExtents getMemoryExtentsOrDie (Type * FT)

    Defined at line 335 of file llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp

  • void elementSelection (SmallString<128> & InputsDir)

    Logical elements selection.

    Defined at line 335 of file llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp

  • template <bool (*IsConstantOpcode)(const MachineInstr *), bool (*GetAPCstValue)(const MachineInstr *MI, APInt &)>
    std::optional<ValueAndVReg> getConstantVRegValWithLookThrough (Register VReg, const MachineRegisterInfo & MRI, bool LookThroughInstrs, bool LookThroughAnyExt)

    This function is used in many places, and as such, it has some

    micro-optimizations to try and make it as fast as it can be.

    - We use template arguments to avoid an indirect call caused by passing a

    function_ref/std::function

    - GetAPCstValue does not return std::optional

    <APInt

    > as that's expensive.

    Instead it returns true/false and places the result in a pre-constructed

    APInt.

    Please change this function carefully and benchmark your changes.

    Defined at line 336 of file llvm/lib/CodeGen/GlobalISel/Utils.cpp

  • void expectDumpResult (const dwarf::UnwindLocation & Loc, StringRef ExpectedFirstLine)

    Defined at line 342 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugFrameTest.cpp

  • basic_string makeHTMLReady (StringRef SR)

    Defined at line 343 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • bool isSelectInRoleOfConjunctionOrDisjunction (const SelectInst * SI)

    we synthesize a || b as select a, true, b

    we synthesize a

    &

    &

    b as select a, b, false

    this function determines if SI is playing one of those roles.

    Defined at line 346 of file llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  • void ProcessSwitchInst (SwitchInst * SI, SmallPtrSetImpl<BasicBlock *> & DeleteList, AssumptionCache * AC, LazyValueInfo * LVI)

    Replace the specified switch instruction with a sequence of chained if-then

    insts in a balanced binary search.

    Defined at line 349 of file llvm/lib/Transforms/Utils/LowerSwitch.cpp

  • Function * createRegisterGlobalsFunction (Module & M, bool IsHIP, pair EntryArray, StringRef Suffix, bool EmitSurfacesAndTextures)

    Create the register globals function. We will iterate all of the offloading

    entries stored at the begin / end symbols and register them according to

    their type. This creates the following function in IR:

    extern struct __tgt_offload_entry __start_cuda_offloading_entries;

    extern struct __tgt_offload_entry __stop_cuda_offloading_entries;

    extern void __cudaRegisterFunction(void **, void *, void *, void *, int,

    void *, void *, void *, void *, int *);

    extern void __cudaRegisterVar(void **, void *, void *, void *, int32_t,

    int64_t, int32_t, int32_t);

    void __cudaRegisterTest(void **fatbinHandle) {

    for (struct __tgt_offload_entry *entry =

    &

    __start_cuda_offloading_entries;

    entry !=

    &

    __stop_cuda_offloading_entries; ++entry) {

    if (entry->Kind != OFK_CUDA)

    continue

    if (!entry->Size)

    __cudaRegisterFunction(fatbinHandle, entry->addr, entry->name,

    entry->name, -1, 0, 0, 0, 0, 0);

    else

    __cudaRegisterVar(fatbinHandle, entry->addr, entry->name, entry->name,

    0, entry->size, 0, 0);

    }

    }

    Defined at line 349 of file llvm/lib/Frontend/Offloading/OffloadWrapper.cpp

  • RcOptions parseWindresOptions (ArrayRef<const char *> ArgsArr, ArrayRef<const char *> InputArgsArray, basic_string Prefix)

    Defined at line 350 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • bool useAfterReturnUnsafe (Instruction & I)

    Defined at line 353 of file llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp

  • void toYaml (yaml::Output & Out, const CtxProfFlatProfile & Flat)

    Defined at line 355 of file llvm/lib/ProfileData/PGOCtxProfReader.cpp

  • Value * findAggregateFromValue (Value * V)

    Returns the aggregate that the value is originating from.

    Defined at line 355 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • uint32_t mkInfo (uint32_t Kind)

    Defined at line 357 of file llvm/unittests/DebugInfo/BTF/BTFParserTest.cpp

  • IndexedMemProfData getMemProfDataForTest ()

    Defined at line 358 of file llvm/unittests/ProfileData/InstrProfTest.cpp

  • template <typename T>
    void append (std::string & S, const T & What)

    Defined at line 359 of file llvm/unittests/DebugInfo/BTF/BTFParserTest.cpp

  • const Module * getModuleForComparison (Any IR)

    Return the module when that is the appropriate level of comparison for

    Defined at line 359 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • template <typename HasherT, llvm::endianness Endianness>
    void addHash (llvm::HashBuilder<HasherT, Endianness> & HBuilder, const StructWithHashBuilderSupport & Value)

    Defined at line 360 of file llvm/unittests/ADT/HashingTest.cpp

  • void simpleIntersectionWithComplement (UBitVec & Intersection, const UBitVec & LHS, const UBitVec & RHS)

    A simple implementation of set intersection-with-complement, used to

    double-check the human "expected" answer.

    Defined at line 362 of file llvm/unittests/ADT/CoalescingBitVectorTest.cpp

  • void compareElements (SmallString<128> & InputsDir)

    Compare logical elements.

    Defined at line 366 of file llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp

  • bool isInterestingFunction (const Function & F)

    Defined at line 367 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • void toYaml (yaml::Output & Out, const PGOCtxProfContext & Ctx)

    We want to pass `const` values PGOCtxProfContext references to the yaml

    converter, and the regular yaml mapping APIs are designed to handle both

    serialization and deserialization, which prevents using const for

    serialization. Using an intermediate datastructure is overkill, both

    space-wise and design complexity-wise. Instead, we use the lower-level APIs.

    Defined at line 367 of file llvm/lib/ProfileData/PGOCtxProfReader.cpp

  • void runWithLoopInfoAndDominatorTree (Module & M, StringRef FuncName, function_ref Test)

    Defined at line 371 of file llvm/unittests/Transforms/Utils/CloningTest.cpp

  • bool isInteresting (Any IR, StringRef PassID, StringRef PassName)

    Return true when this is a pass on IR for which printing

    of changes is desired.

    Defined at line 373 of file llvm/lib/Passes/StandardInstrumentations.cpp

  • void VerfyDivDidntShuffle (StringRef Source)

    Defined at line 373 of file llvm/unittests/FuzzMutate/StrategiesTest.cpp

  • void checkElementSelection (LVReader * Reader, std::vector<SelectionInfo> & Data, size_t Size)

    Check the logical elements selection.

    Defined at line 374 of file llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp

  • template <typename HasherT, llvm::endianness Endianness>
    void addHash (llvm::HashBuilder<HasherT, Endianness> & HBuilder, const StructWithHashBuilderAndHashValueSupport & Value)

    Defined at line 375 of file llvm/unittests/ADT/HashingTest.cpp

  • MemInfoBlock makeFullMIB ()

    Populate all of the fields of MIB.

    Defined at line 376 of file llvm/unittests/ProfileData/InstrProfTest.cpp

  • hash_code hash_value (const StructWithHashBuilderAndHashValueSupport & Value)

    Defined at line 377 of file llvm/unittests/ADT/HashingTest.cpp

  • void operator<< (json::OStream & W, const SymbolizedCoverage & C)

    Defined at line 378 of file llvm/tools/sancov/sancov.cpp

  • unique_ptr parseIR (LLVMContext & C, const char * IR)

    Defined at line 383 of file llvm/unittests/Transforms/Utils/CloningTest.cpp

  • vector GetComponents (StringRef Path, Style S)

    Defined at line 384 of file llvm/unittests/Support/Path.cpp

  • void expectDumpResult (const dwarf::RegisterLocations & Locs, StringRef ExpectedFirstLine)

    Defined at line 384 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugFrameTest.cpp

  • template <typename T>
    void SaturatingMultiplyAddTestHelper ()

    Defined at line 384 of file llvm/unittests/Support/MathExtrasTest.cpp

  • void expectOperationValueResult (binop_eval_t Operation, APInt LeftValue, APInt RightValue, APInt ExpectedValue)

    Defined at line 385 of file llvm/unittests/FileCheck/FileCheckTest.cpp

  • MemInfoBlock makePartialMIB ()

    Populate those fields returned by getHotColdSchema.

    Defined at line 385 of file llvm/unittests/ProfileData/InstrProfTest.cpp

  • basic_string gtest_DumpValueParamsDumpValueFixture_EvalGenerateName_ (const ::testing::TestParamInfo<DumpValueFixture::ParamType> & info)

    Defined at line 387 of file llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

  • ParamGenerator gtest_DumpValueParamsDumpValueFixture_EvalGenerator_ ()

    Defined at line 387 of file llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp

  • Expected getFile (const Twine & FileName)

    Defined at line 388 of file llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  • basic_string parseScalarString (yaml::Node * N)

    Defined at line 390 of file llvm/tools/sancov/sancov.cpp

  • bool maybeSharedMutable (const Value * Addr)

    Returns true if the memory at `Addr` may be shared with other threads.

    Defined at line 390 of file llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp

  • bool isIConstant (const MachineInstr * MI)

    Defined at line 394 of file llvm/lib/CodeGen/GlobalISel/Utils.cpp

  • template <class T1, class T2, class TR>
    void expectOperationValueResult (binop_eval_t Operation, T1 LeftValue, T2 RightValue, TR ResultValue)

    Defined at line 394 of file llvm/unittests/FileCheck/FileCheckTest.cpp

  • IndexedMemProfRecord makeRecord (initializer_list AllocFrames, initializer_list CallSiteFrames, const MemInfoBlock & Block, const memprof::MemProfSchema & Schema)

    Defined at line 394 of file llvm/unittests/ProfileData/InstrProfTest.cpp

  • AttributeList transformFunctionAttributes (const TransformedFunction & TransformedFunction, LLVMContext & Ctx, AttributeList CallSiteAttrs)

    Given function attributes from a call site for the original function,

    return function attributes appropriate for a call to the transformed

    function.

    Defined at line 394 of file llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp

  • void reportLLVMJITLinkError (Error Err)

    Defined at line 395 of file llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  • void testAliasRequired (int argc, const char *const * argv)

    Defined at line 395 of file llvm/unittests/Support/CommandLineTest.cpp

  • Function & lookupFunction (Module & M, StringRef Name)

    Defined at line 397 of file llvm/unittests/Analysis/LazyCallGraphTest.cpp

  • bool isFConstant (const MachineInstr * MI)

    Defined at line 400 of file llvm/lib/CodeGen/GlobalISel/Utils.cpp

  • bool getPreferSmallerInstructions (const CodeGenTarget & Target)

    Defined at line 401 of file llvm/utils/TableGen/AsmMatcherEmitter.cpp

  • any_relocation_info makeRelocationInfo (const MachOYAML::Relocation & R, bool IsLE)

    The implementation of makeRelocationInfo and makeScatteredRelocationInfo is

    consistent with how libObject parses MachO binary files. For the reference

    see getStruct, getRelocation, getPlainRelocationPCRel,

    getPlainRelocationLength and related methods in MachOObjectFile.cpp

    Defined at line 405 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • template <>
    EqualsRecordMatcherP<Want_type> EqualsRecord (Want_type gmock_p0)

    Defined at line 406 of file llvm/unittests/ProfileData/InstrProfTest.cpp

  • bool isAnyConstant (const MachineInstr * MI)

    Defined at line 406 of file llvm/lib/CodeGen/GlobalISel/Utils.cpp

  • template <class T1, class T2>
    void expectOperationValueResult (binop_eval_t Operation, T1 LeftValue, T2 RightValue)

    Defined at line 407 of file llvm/unittests/FileCheck/FileCheckTest.cpp

  • bool getCImmAsAPInt (const MachineInstr * MI, APInt & Result)

    Defined at line 413 of file llvm/lib/CodeGen/GlobalISel/Utils.cpp

  • basic_string gtest_VirtualOutputBackendTest_EvalGenerateName_ (const ::testing::TestParamInfo<BackendTest::ParamType> & info)

    Defined at line 414 of file llvm/unittests/Support/VirtualOutputBackendsTest.cpp

  • ParamGenerator gtest_VirtualOutputBackendTest_EvalGenerator_ ()

    Defined at line 414 of file llvm/unittests/Support/VirtualOutputBackendsTest.cpp

  • void checkElementComparison (LVReader * Reference, LVReader * Target)

    Check the logical elements comparison.

    Defined at line 416 of file llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp

  • bool getCImmOrFPImmAsAPInt (const MachineInstr * MI, APInt & Result)

    Defined at line 421 of file llvm/lib/CodeGen/GlobalISel/Utils.cpp

  • any_relocation_info makeScatteredRelocationInfo (const MachOYAML::Relocation & R)

    Defined at line 421 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • basic_string getPathToStyle (StringRef ViewPath)

    Defined at line 422 of file llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp

  • Error buildTables_ELF_loongarch (LinkGraph & G)

    Defined at line 426 of file llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp

  • basic_string gtest_AllocationTestsMappedMemoryTest_EvalGenerateName_ (const ::testing::TestParamInfo<MappedMemoryTest::ParamType> & info)

    Defined at line 430 of file llvm/unittests/Support/MemoryTest.cpp

  • ParamGenerator gtest_AllocationTestsMappedMemoryTest_EvalGenerator_ ()

    Defined at line 430 of file llvm/unittests/Support/MemoryTest.cpp

  • basic_string getPathToJavaScript (StringRef ViewPath)

    Defined at line 431 of file llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp

  • bool ReadDataFromGlobal (Constant * C, uint64_t ByteOffset, unsigned char * CurPtr, unsigned int BytesLeft, const DataLayout & DL)

    Recursive helper to read bits out of global. C is the constant being copied

    out of. ByteOffset is an offset into C. CurPtr is the pointer to copy

    results into and BytesLeft is the number of bytes left in

    the CurPtr buffer. DL is the DataLayout.

    Defined at line 431 of file llvm/lib/Analysis/ConstantFolding.cpp

  • basic_string gtest_LanguageDescriptionTestsLanguageDescriptionTestFixture_EvalGenerateName_ (const ::testing::TestParamInfo<LanguageDescriptionTestFixture::ParamType> & info)

    Defined at line 436 of file llvm/unittests/BinaryFormat/DwarfTest.cpp

  • ParamGenerator gtest_LanguageDescriptionTestsLanguageDescriptionTestFixture_EvalGenerator_ ()

    Defined at line 436 of file llvm/unittests/BinaryFormat/DwarfTest.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const ThreadingPath & TPath)

    Defined at line 437 of file llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp

  • template <typename AAType, typename StateType = typename AAType::StateType, Attribute::AttrKind IRAttributeKind = AAType::IRAttributeKind>
    void clampCallSiteArgumentStates (Attributor & A, const AAType & QueryingAA, StateType & S)

    Clamp the information known at all call sites for a given argument

    (identified by

    into

    Defined at line 437 of file llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  • void emitPrelude (raw_ostream & OS, const CoverageViewOptions & Opts, const std::string & PathToStyle, const std::string & PathToJavaScript)

    Defined at line 440 of file llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp

  • basic_string gtest_UnsupportedVersionTestParamsDebugLineUnsupportedVersionFixture_EvalGenerateName_ (const ::testing::TestParamInfo<DebugLineUnsupportedVersionFixture::ParamType> & info)

    Defined at line 445 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • ParamGenerator gtest_UnsupportedVersionTestParamsDebugLineUnsupportedVersionFixture_EvalGenerator_ ()

    Defined at line 445 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • void CheckUnsaturatedConversion (FixedPointSemantics Src, FixedPointSemantics Dst, int64_t TestVal)

    Check that a fixed point value in one sema is the same in another sema

    Defined at line 448 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • void elementProperties (SmallString<128> & InputsDir)

    Logical elements properties.

    Defined at line 451 of file llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp

  • Error buildGOTAndStubs_MachO_x86_64 (LinkGraph & G)

    Defined at line 463 of file llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp

  • void emitTableRow (raw_ostream & OS, const CoverageViewOptions & Opts, const std::string & FirstCol, const FileCoverageSummary & FCS, bool IsTotals)

    Defined at line 463 of file llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp

  • void CheckSaturatedConversionMin (FixedPointSemantics Src, FixedPointSemantics Dst, int64_t TestVal)

    Check the value in a given fixed point sema overflows to the saturated min

    for another sema

    Defined at line 471 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • StringRef getCPUNameFromS390Model (unsigned int Id, bool HaveVectorSupport)

    Defined at line 471 of file llvm/lib/TargetParser/Host.cpp

  • template <typename T>
    const T MakeConst (T && value)

    Returns a `const` copy of the passed value. The `const` on the returned

    value is intentional here so that `MakeConst` can be used in range-for

    loops.

    Defined at line 476 of file llvm/unittests/ADT/IteratorTest.cpp

  • void CheckSaturatedConversionMax (FixedPointSemantics Src, FixedPointSemantics Dst, int64_t TestVal)

    Check the value in a given fixed point sema overflows to the saturated max

    for another sema

    Defined at line 479 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • basic_string stripPathPrefix (basic_string Path)

    ---------- MAIN FUNCTIONALITY ----------

    Defined at line 485 of file llvm/tools/sancov/sancov.cpp

  • void CheckSignedAccumConversionsAgainstOthers (FixedPointSemantics Src, int64_t OneVal)

    Check one signed _Accum sema converted to other sema for different values.

    Defined at line 486 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • int createSymbolizer ()

    Defined at line 494 of file llvm/tools/sancov/sancov.cpp

  • void elementSelection (SmallString<128> & InputsDir)

    Logical elements selection.

    Defined at line 494 of file llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp

  • template <typename AAType, typename BaseType, typename StateType = typename AAType::StateType, Attribute::AttrKind IRAttributeKind = AAType::IRAttributeKind>
    bool getArgumentStateFromCallBaseContext (Attributor & A, BaseType & QueryingAttribute, IRPosition & Pos, StateType & State)

    This function is the bridge between argument position and the call base

    context.

    Defined at line 496 of file llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  • void checkFileData (StringRef FileName, StringRef GoldenData)

    Defined at line 498 of file llvm/unittests/Support/raw_ostream_test.cpp

  • basic_string normalizeFilename (const std::string & FileName)

    Defined at line 501 of file llvm/tools/sancov/sancov.cpp

  • template <>
    HasMIMetadataMatcherP<MIMD_type> HasMIMetadata (MIMD_type gmock_p0)

    Defined at line 502 of file llvm/unittests/CodeGen/MachineInstrTest.cpp

  • template <typename NListType>
    void writeNListEntry (MachOYAML::NListEntry & NLE, raw_ostream & OS, bool IsLittleEndian)

    Defined at line 504 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • RcOptions parseRcOptions (ArrayRef<const char *> ArgsArr, ArrayRef<const char *> InputArgsArray)

    Defined at line 507 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const ContextNode & Node)

    Defined at line 512 of file llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

  • template <uint16_t Version, class AddrType>
    void TestChildren ()

    Defined at line 518 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp

  • void emitEpilog (raw_ostream & OS)

    Defined at line 520 of file llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp

  • bool enableSplitLTOUnit (Module & M)

    Check if the LTO Unit splitting has been enabled.

    Defined at line 524 of file llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp

  • bool requiresSplit (Module & M)

    Returns whether this module needs to be split (if splitting is enabled).

    Defined at line 533 of file llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp

  • bool LowerSwitch (Function & F, LazyValueInfo * LVI, AssumptionCache * AC)

    Defined at line 535 of file llvm/lib/Transforms/Utils/LowerSwitch.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const InstPartitionContainer & Partitions)

    Defined at line 543 of file llvm/lib/Transforms/Scalar/LoopDistribute.cpp

  • bool writeThinLTOBitcode (raw_ostream & OS, raw_ostream * ThinLinkOS, function_ref<AAResults &(Function &)> AARGetter, Module & M, const ModuleSummaryIndex * Index, const bool ShouldPreserveUseListOrder)

    Defined at line 543 of file llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp

  • bool simplifyAssumes (Function & F, AssumptionCache * AC, DominatorTree * DT)

    Defined at line 544 of file llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp

  • raw_ostream & operator<< (raw_ostream & Stream, const StrOrAnon & S)

    Defined at line 545 of file llvm/lib/DebugInfo/BTF/BTFParser.cpp

  • MCSectionXCOFF * getContainingCsect (const MCSymbolXCOFF * XSym)

    Defined at line 550 of file llvm/lib/MC/XCOFFObjectWriter.cpp

  • int getCoveragePoints (const std::string & ObjectFile, const int & Addrs, const int & CoveredAddrs)

    Defined at line 551 of file llvm/tools/sancov/sancov.cpp

  • void compareElements (SmallString<128> & InputsDir)

    Compare logical elements.

    Defined at line 555 of file llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp

  • bool testARMArch (StringRef Arch, StringRef DefaultCPU, StringRef SubArch, unsigned int ArchAttr)

    Defined at line 556 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • void CheckUnsignedAccumConversionsAgainstOthers (FixedPointSemantics Src, int64_t OneVal)

    Check one unsigned _Accum sema converted to other sema for different

    values.

    Defined at line 560 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • MergedNodesT mergeNodes (const std::vector<NodeT *> & X, const std::vector<NodeT *> & Y, size_t MergeOffset, MergeTypeT MergeType)

    Merge two chains of nodes respecting a given 'type' and 'offset'.

    If MergeType == 0, then the result is a concatenation of two chains.

    Otherwise, the first chain is cut into two sub-chains at the offset,

    and merged using all possible ways of concatenating three chains.

    Defined at line 561 of file llvm/lib/Transforms/Utils/CodeLayout.cpp

  • Constant * FoldReinterpretLoadFromConst (Constant * C, Type * LoadTy, int64_t Offset, const DataLayout & DL)

    Defined at line 564 of file llvm/lib/Analysis/ConstantFolding.cpp

  • void createRegisterFatbinFunction (Module & M, GlobalVariable * FatbinDesc, bool IsHIP, pair EntryArray, StringRef Suffix, bool EmitSurfacesAndTextures)

    Create the constructor and destructor to register the fatbinary with the CUDA

    runtime.

    Defined at line 567 of file llvm/lib/Frontend/Offloading/OffloadWrapper.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const ContextEdge & Edge)

    Defined at line 572 of file llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

  • bool operator< (const Slice & LHS, uint64_t RHSOffset)

    Support comparison with a single offset to allow binary searches.

    Defined at line 579 of file llvm/lib/Transforms/Scalar/SROA.cpp

  • bool operator< (uint64_t LHSOffset, const Slice & RHS)

    Defined at line 582 of file llvm/lib/Transforms/Scalar/SROA.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const StraightLineStrengthReduce::Candidate & C)

    Defined at line 583 of file llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp

  • basic_string gtest_LineTableTestParamsDebugLineParameterisedFixture_EvalGenerateName_ (const ::testing::TestParamInfo<DebugLineParameterisedFixture::ParamType> & info)

    Defined at line 585 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • ParamGenerator gtest_LineTableTestParamsDebugLineParameterisedFixture_EvalGenerator_ ()

    Defined at line 585 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • void expectUndefErrors (unordered_set ExpectedUndefVarNames, Error Err)

    Defined at line 586 of file llvm/unittests/FileCheck/FileCheckTest.cpp

  • RcOptions getOptions (const char * Argv0, ArrayRef<const char *> ArgsArr, ArrayRef<const char *> InputArgs)

    Defined at line 589 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const DeltaInfo & DI)

    Defined at line 593 of file llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp

  • int64_t getExpectedNumberOfCompare (int NumCaseCluster)

    Considering forming a binary search, we should find the number of nodes

    which is same as the number of comparisons when lowered. For a given

    number of clusters, n, we can define a recursive function, f(n), to find

    the number of nodes in the tree. The recursion is :

    f(n) = 1 + f(n/2) + f (n - n/2), when n > 3,

    and f(n) = n, when n

    <

    = 3.

    This will lead a binary tree where the leaf should be either f(2) or f(3)

    when n > 3. So, the number of comparisons from leaves should be n, while

    the number of non-leaf should be :

    2^(log2(n) - 1) - 1

    = 2^log2(n) * 2^-1 - 1

    = n / 2 - 1.

    Considering comparisons from leaf and non-leaf nodes, we can estimate the

    number of comparisons in a simple closed form :

    n + n / 2 - 1 = n * 3 / 2 - 1

    Defined at line 598 of file llvm/lib/Analysis/InlineCost.cpp

  • void doRc (basic_string Src, basic_string Dest, RcOptions & Opts, const char * Argv0)

    Defined at line 600 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const formatBranchInfo & FBI)

    Defined at line 602 of file llvm/lib/ProfileData/GCOV.cpp

  • PreferredTuple ChoosePreferredUse (MachineInstr & LoadMI, PreferredTuple & CurrentUse, LLT TyForCandidate, unsigned int OpcodeForCandidate, MachineInstr * MIForCandidate)

    Select a preference between two uses. CurrentUse is the current preference

    while *ForCandidate is attributes of the candidate under consideration.

    Defined at line 611 of file llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp

  • template <class AAType, typename StateType = typename AAType::StateType>
    void followUsesInContext (AAType & AA, Attributor & A, MustBeExecutedContextExplorer & Explorer, const Instruction * CtxI, int & Uses, StateType & State)

    Helper function to accumulate uses.

    Defined at line 620 of file llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const Polynomial & S)

    Defined at line 622 of file llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp

  • void setupOverlaps (UUMap & M)

    Defined at line 623 of file llvm/unittests/ADT/IntervalMapTest.cpp

  • template <typename Fn1, typename Fn2, typename Fn3>
    void testBinarySetOperationExhaustive (Fn1 OpFn, Fn2 ExactOpFn, Fn3 InResultFn)

    Defined at line 623 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • bool isAArch64Elf (const ObjectFile & Obj)

    Defined at line 624 of file llvm/tools/llvm-objdump/llvm-objdump.cpp

  • bool isCoveragePointSymbol (StringRef Name)

    Defined at line 624 of file llvm/tools/sancov/sancov.cpp

  • void VerifyBlockShuffle (StringRef Source)

    Defined at line 625 of file llvm/unittests/FuzzMutate/StrategiesTest.cpp

  • bool operator< (const TableEntry & TE, unsigned int V)

    Defined at line 626 of file llvm/lib/Target/X86/X86FloatingPoint.cpp

  • bool operator< (unsigned int V, const TableEntry & TE)

    Defined at line 629 of file llvm/lib/Target/X86/X86FloatingPoint.cpp

  • bool isArmElf (const ObjectFile & Obj)

    Defined at line 629 of file llvm/tools/llvm-objdump/llvm-objdump.cpp

  • void checkOverlaps (UUMap & M)

    Defined at line 632 of file llvm/unittests/ADT/IntervalMapTest.cpp

  • bool shouldRunLowerAMXIntrinsics (const Function & F, const TargetMachine * TM)

    Defined at line 633 of file llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp

  • bool isCSKYElf (const ObjectFile & Obj)

    Defined at line 634 of file llvm/tools/llvm-objdump/llvm-objdump.cpp

  • void findMachOIndirectCovFunctions (const object::MachOObjectFile & O, int * Result)

    Locate __sanitizer_cov* function addresses inside the stubs table on MachO.

    Defined at line 635 of file llvm/tools/sancov/sancov.cpp

  • void sanitizeStrategy (VPIntrinsic & VPI, VPLegalization & LegalizeStrat)

    / } CachingVPExpander

    Defined at line 636 of file llvm/lib/CodeGen/ExpandVectorPredication.cpp

  • bool runLowerAMXIntrinsics (Function & F, DominatorTree * DT, LoopInfo * LI)

    Defined at line 638 of file llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp

  • bool isRISCVElf (const ObjectFile & Obj)

    Defined at line 639 of file llvm/tools/llvm-objdump/llvm-objdump.cpp

  • bool hasMappingSymbols (const ObjectFile & Obj)

    Defined at line 644 of file llvm/tools/llvm-objdump/llvm-objdump.cpp

  • template <class AAType, typename StateType = typename AAType::StateType>
    void followUsesInMBEC (AAType & AA, Attributor & A, StateType & S, Instruction & CtxI)

    Use the must-be-executed-context around

    to add information into

    The AAType class is required to have `followUseInMBEC` method with the

    following signature and behaviour:

    bool followUseInMBEC(Attributor

    &A

    , const Use *U, const Instruction *I)

    U - Underlying use.

    I - The user of the

    Returns true if the value should be tracked transitively.

    Defined at line 646 of file llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  • template <uint16_t Version, class AddrType>
    void TestReferences ()

    Defined at line 648 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp

  • void printRelocation (formatted_raw_ostream & OS, StringRef FileName, const RelocationRef & Rel, uint64_t Address, bool Is64Bits)

    Defined at line 649 of file llvm/tools/llvm-objdump/llvm-objdump.cpp

  • bool testARMExtension (StringRef CPUName, ArchKind ArchKind, StringRef ArchExt)

    Defined at line 653 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • ArgumentAccessInfo getArgumentAccessInfo (const Instruction * I, const ArgumentUse & ArgUse, const DataLayout & DL)

    Defined at line 654 of file llvm/lib/Transforms/IPO/FunctionAttrs.cpp

  • Error buildTables_ELF_aarch64 (LinkGraph & G)

    Defined at line 659 of file llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp

  • Expected foo (FooStrategy S)

    Defined at line 661 of file llvm/unittests/Support/ErrorTest.cpp

  • void printBTFRelocation (formatted_raw_ostream & FOS, llvm::BTFParser & BTF, SectionedAddress Address, LiveElementPrinter & LEP)

    Defined at line 664 of file llvm/tools/llvm-objdump/llvm-objdump.cpp

  • void InsertInsnsWithoutSideEffectsBeforeUse (MachineIRBuilder & Builder, MachineInstr & DefMI, MachineOperand & UseMO, std::function<void (MachineBasicBlock *, int, MachineOperand &)> Inserter)

    Find a suitable place to insert some instructions and insert them. This

    function accounts for special cases like inserting before a PHI node.

    The current strategy for inserting before PHI's is to duplicate the

    instructions for each predecessor. However, while that's ok for G_TRUNC

    on most targets since it generally requires no code, other targets/cases may

    want to try harder to find a dominating block.

    Defined at line 667 of file llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp

  • int GetDICompileUnitCount (const Module & M)

    Defined at line 671 of file llvm/unittests/Transforms/Utils/CloningTest.cpp

  • int findSanitizerCovFunctions (const object::ObjectFile & O)

    Locate __sanitizer_cov* function addresses that are used for coverage

    reporting.

    Defined at line 675 of file llvm/tools/sancov/sancov.cpp

  • bool haveCompileUnitsInCommon (const Module & LHS, const Module & RHS)

    Defined at line 678 of file llvm/unittests/Transforms/Utils/CloningTest.cpp

  • void doCvtres (basic_string Src, basic_string Dest, basic_string TargetTriple)

    Defined at line 688 of file llvm/tools/llvm-rc/llvm-rc.cpp

  • bool CompUpdates (const CFGBuilder::Update & A, const CFGBuilder::Update & B)

    Defined at line 701 of file llvm/unittests/IR/DominatorTreeTest.cpp

  • void testAppendAndTerminateTemplateParameters (const DWARFDie & DIE, const std::string & Expected)

    Defined at line 708 of file llvm/unittests/DebugInfo/DWARF/DWARFDieTest.cpp

  • void testAppendQualifiedName (const DWARFDie & DIE, const std::string & Expected)

    Defined at line 717 of file llvm/unittests/DebugInfo/DWARF/DWARFDieTest.cpp

  • template <typename FatArchType>
    FatArchType constructFatArch (MachOYAML::FatArch & Arch)

    Defined at line 721 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • FunctionSummary * findCalleeFunctionSummary (ValueInfo VI, StringRef ModuleId)

    Defined at line 722 of file llvm/lib/Analysis/StackSafetyAnalysis.cpp

  • uint64_t getPreviousInstructionPc (uint64_t PC, Triple TheTriple)

    Ported from

    compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h:GetPreviousInstructionPc

    GetPreviousInstructionPc.

    Defined at line 723 of file llvm/tools/sancov/sancov.cpp

  • void emitDebugNamesHeader (raw_ostream & OS, bool IsLittleEndian, uint32_t NameCount, uint32_t AbbrevSize, uint32_t CombinedSizeOtherParts)

    Emits the header for a DebugNames section.

    Defined at line 723 of file llvm/lib/ObjectYAML/DWARFEmitter.cpp

  • void CheckFloatToFixedConversion (APFloat & Val, const FixedPointSemantics & Sema, int64_t ExpectedNonSat)

    Defined at line 731 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • template <typename StructType>
    void writeFatArch (MachOYAML::FatArch & LC, raw_ostream & OS)

    Defined at line 732 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • void insertModuleCtor (Module & M)

    Defined at line 732 of file llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

  • template <>
    void writeFatArch<llvm::MachO::fat_arch> (MachOYAML::FatArch & Arch, raw_ostream & OS)

    Defined at line 734 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • void getObjectCoveragePoints (const object::ObjectFile & O, int * Addrs)

    Locate addresses of all coverage points in a file. Coverage point

    is defined as the 'address of instruction following __sanitizer_cov

    call - 1'.

    Defined at line 738 of file llvm/tools/sancov/sancov.cpp

  • template <>
    void writeFatArch<llvm::MachO::fat_arch_64> (MachOYAML::FatArch & Arch, raw_ostream & OS)

    Defined at line 742 of file llvm/lib/ObjectYAML/MachOEmitter.cpp

  • void CheckFloatToFixedConversion (APFloat & Val, const FixedPointSemantics & Sema, OvfKind ExpectedOvf)

    Defined at line 743 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • uint64_t getCalleeAddress (const uint64_t * vtableAddr)

    Returns the address of callee with a numbered suffix in vtable.

    Defined at line 744 of file llvm/unittests/ProfileData/InstrProfTest.cpp

  • template <typename DbgValTy>
    bool diagnoseMisSizedDbgValue (Module & M, DbgValTy * DbgVal)

    Return true if a mis-sized diagnostic is issued for

    Defined at line 745 of file llvm/lib/Transforms/Utils/Debugify.cpp

  • basic_string emitDebugNamesAbbrev (ArrayRef Abbrevs)

    Emits the abbreviations for a DebugNames section.

    Defined at line 747 of file llvm/lib/ObjectYAML/DWARFEmitter.cpp

  • template <class T>
    T getOptOrDefault (const int & Opt, T Default)

    Defined at line 750 of file llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

  • bool DCEInstruction (Instruction * I, SmallSetVector<Instruction *, 16> & WorkList, const TargetLibraryInfo * TLI)

    Defined at line 752 of file llvm/lib/Target/X86/X86LowerAMXType.cpp

  • Expected<HardwareLoopOptions> parseHardwareLoopOptions (StringRef Params)

    Parser of parameters for HardwareLoops pass.

    Defined at line 758 of file llvm/lib/Passes/PassBuilder.cpp

  • ArgumentUsesSummary collectArgumentUsesPerBlock (Argument & A, Function & F)

    Collect the uses of argument "A" in "F".

    Defined at line 764 of file llvm/lib/Transforms/IPO/FunctionAttrs.cpp

  • basic_string emitDebugNamesCUOffsets (bool IsLittleEndian)

    Emits a simple CU offsets list for a DebugNames section containing a single

    CU at offset 0.

    Defined at line 767 of file llvm/lib/ObjectYAML/DWARFEmitter.cpp

  • raw_ostream & operator<< (raw_ostream & O, const PartwordMaskValues & PMV)

    Defined at line 767 of file llvm/lib/CodeGen/AtomicExpandPass.cpp

  • template <typename ContainerT = Array>
    bool insertNonEmptyValues (Object & Obj, TBDKey Key, ContainerT && Contents)

    Defined at line 768 of file llvm/lib/TextAPI/TextStubV5.cpp

  • basic_string getFormattedStr (const MachO::Target & Targ)

    Defined at line 775 of file llvm/lib/TextAPI/TextStubV5.cpp

  • const Function * findCalleeInModule (const GlobalValue * GV)

    Defined at line 776 of file llvm/lib/Analysis/StackSafetyAnalysis.cpp

  • basic_string emitDebugNamesNameTable (bool IsLittleEndian, const DenseMap<uint32_t, std::vector<DWARFYAML::DebugNameEntry>> & Entries, ArrayRef EntryPoolOffsets)

    Emits the "NameTable" for a DebugNames section; according to the spec, it

    consists of two arrays: an array of string offsets, followed immediately by

    an array of entry offsets. The string offsets are emitted in the order

    provided in `Entries`.

    Defined at line 778 of file llvm/lib/ObjectYAML/DWARFEmitter.cpp

  • template <typename AggregateT>
    vector serializeTargets (const AggregateT Targets, const TargetList & ActiveTargets)

    Defined at line 783 of file llvm/lib/TextAPI/TextStubV5.cpp

  • bool checkDebugifyMetadata (Module & M, iterator_range Functions, StringRef NameOfWrappedPass, StringRef Banner, bool Strip, DebugifyStatsMap * StatsMap)

    Defined at line 785 of file llvm/lib/Transforms/Utils/Debugify.cpp

  • const ConstantRange * findParamAccess (const FunctionSummary & FS, uint32_t ParamNo)

    Defined at line 792 of file llvm/lib/Analysis/StackSafetyAnalysis.cpp

  • DenseMap groupEntries (ArrayRef Entries)

    Groups entries based on their name (strp) code and returns a map.

    Defined at line 795 of file llvm/lib/ObjectYAML/DWARFEmitter.cpp

  • Array serializeTargetInfo (const TargetList & ActiveTargets)

    Defined at line 795 of file llvm/lib/TextAPI/TextStubV5.cpp

  • Constant * SymbolicallyEvaluateBinop (unsigned int Opc, Constant * Op0, Constant * Op1, const DataLayout & DL)

    One of Op0/Op1 is a constant expression.

    Attempt to symbolically evaluate the result of a binary operator merging

    these together. If target data info is available, it is provided as DL,

    otherwise DL is null.

    Defined at line 797 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Expected<bool> parseLintOptions (StringRef Params)

    Parser of parameters for Lint pass.

    Defined at line 800 of file llvm/lib/Passes/PassBuilder.cpp

  • void resolveAllCalls (UseInfo<GlobalValue> & Use, const ModuleSummaryIndex * Index)

    Defined at line 802 of file llvm/lib/Analysis/StackSafetyAnalysis.cpp

  • Expected getNonZeroDataSizesFor (uint32_t AbbrevCode, ArrayRef Abbrevs)

    Finds the abbreviation whose code is AbbrevCode and returns a list

    containing the expected size of all non-zero-length forms.

    Defined at line 805 of file llvm/lib/ObjectYAML/DWARFEmitter.cpp

  • Expected<LoopUnrollOptions> parseLoopUnrollOptions (StringRef Params)

    Parser of parameters for LoopUnroll pass.

    Defined at line 806 of file llvm/lib/Passes/PassBuilder.cpp

  • size_t size (const FooWithFreeSize & )

    Defined at line 807 of file llvm/unittests/ADT/IteratorTest.cpp

  • template <typename ValueT, typename EntryT = ValueT>
    Array serializeScalar (TBDKey Key, ValueT Value, ValueT Default)

    Defined at line 808 of file llvm/lib/TextAPI/TextStubV5.cpp

  • void visitObjectFiles (const object::Archive & A, function_ref<void (const object::ObjectFile &)> Fn)

    Defined at line 818 of file llvm/tools/sancov/sancov.cpp

  • template <typename AggregateT = TargetsToValuesMap>
    Array serializeAttrToTargets (AggregateT & Entries, TBDKey Key)

    Defined at line 822 of file llvm/lib/TextAPI/TextStubV5.cpp

  • bool testArchExtDependency (const char * ArchExt, const std::initializer_list<const char *> & Expected)

    Defined at line 830 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • void visitObjectFiles (const std::string & FileName, function_ref<void (const object::ObjectFile &)> Fn)

    Defined at line 833 of file llvm/tools/sancov/sancov.cpp

  • map createGlobalStackSafetyInfo (map Functions, const ModuleSummaryIndex * Index)

    Defined at line 835 of file llvm/lib/Analysis/StackSafetyAnalysis.cpp

  • template <typename ValueT = std::string, typename AggregateT = std::vector<std::pair<MachO::Target, ValueT>>>
    Array serializeField (TBDKey Key, const AggregateT & Values, const TargetList & ActiveTargets, bool IsArray)

    When there is no significance in order, the common case, serialize all

    attributes in a stable order.

    Defined at line 837 of file llvm/lib/TextAPI/TextStubV5.cpp

  • bool expandMemCmp (CallInst * CI, const TargetTransformInfo * TTI, const TargetLowering * TLI, const DataLayout * DL, ProfileSummaryInfo * PSI, BlockFrequencyInfo * BFI, DomTreeUpdater * DTU, const bool IsBCmp)

    This function checks to see if an expansion of memcmp can be generated.

    It checks for constant compare size that is less than the max inline size.

    If an expansion cannot occur, returns false to leave as a library call.

    Otherwise, the library call is replaced with a new IR instruction sequence.

    We want to transform:

    %call = call signext i32

    (i8* %0, i8* %1, i64 15)

    To:

    loadbb:

    %0 = bitcast i32* %buffer2 to i8*

    %1 = bitcast i32* %buffer1 to i8*

    %2 = bitcast i8* %1 to i64*

    %3 = bitcast i8* %0 to i64*

    %4 = load i64, i64* %2

    %5 = load i64, i64* %3

    %6 = call i64

    .bswap.i64(i64 %4)

    %7 = call i64

    .bswap.i64(i64 %5)

    %8 = sub i64 %6, %7

    %9 = icmp ne i64 %8, 0

    br i1 %9, label %res_block, label %loadbb1

    res_block: ; preds = %loadbb2,

    %loadbb1, %loadbb

    %phi.src1 = phi i64 [ %6, %loadbb ], [ %22, %loadbb1 ], [ %36, %loadbb2 ]

    %phi.src2 = phi i64 [ %7, %loadbb ], [ %23, %loadbb1 ], [ %37, %loadbb2 ]

    %10 = icmp ult i64 %phi.src1, %phi.src2

    %11 = select i1 %10, i32 -1, i32 1

    br label %endblock

    loadbb1: ; preds = %loadbb

    %12 = bitcast i32* %buffer2 to i8*

    %13 = bitcast i32* %buffer1 to i8*

    %14 = bitcast i8* %13 to i32*

    %15 = bitcast i8* %12 to i32*

    %16 = getelementptr i32, i32* %14, i32 2

    %17 = getelementptr i32, i32* %15, i32 2

    %18 = load i32, i32* %16

    %19 = load i32, i32* %17

    %20 = call i32

    .bswap.i32(i32 %18)

    %21 = call i32

    .bswap.i32(i32 %19)

    %22 = zext i32 %20 to i64

    %23 = zext i32 %21 to i64

    %24 = sub i64 %22, %23

    %25 = icmp ne i64 %24, 0

    br i1 %25, label %res_block, label %loadbb2

    loadbb2: ; preds = %loadbb1

    %26 = bitcast i32* %buffer2 to i8*

    %27 = bitcast i32* %buffer1 to i8*

    %28 = bitcast i8* %27 to i16*

    %29 = bitcast i8* %26 to i16*

    %30 = getelementptr i16, i16* %28, i16 6

    %31 = getelementptr i16, i16* %29, i16 6

    %32 = load i16, i16* %30

    %33 = load i16, i16* %31

    %34 = call i16

    .bswap.i16(i16 %32)

    %35 = call i16

    .bswap.i16(i16 %33)

    %36 = zext i16 %34 to i64

    %37 = zext i16 %35 to i64

    %38 = sub i64 %36, %37

    %39 = icmp ne i64 %38, 0

    br i1 %39, label %res_block, label %loadbb3

    loadbb3: ; preds = %loadbb2

    %40 = bitcast i32* %buffer2 to i8*

    %41 = bitcast i32* %buffer1 to i8*

    %42 = getelementptr i8, i8* %41, i8 14

    %43 = getelementptr i8, i8* %40, i8 14

    %44 = load i8, i8* %42

    %45 = load i8, i8* %43

    %46 = zext i8 %44 to i32

    %47 = zext i8 %45 to i32

    %48 = sub i32 %46, %47

    br label %endblock

    endblock: ; preds = %res_block,

    %loadbb3

    %phi.res = phi i32 [ %48, %loadbb3 ], [ %11, %res_block ]

    ret i32 %phi.res

    Defined at line 837 of file llvm/lib/CodeGen/ExpandMemCmp.cpp

  • Expected emitDebugNamesEntryPool (bool IsLittleEndian, const DenseMap<uint32_t, std::vector<DWARFYAML::DebugNameEntry>> & StrpToEntries, ArrayRef Abbrevs)

    Emits the entry pool and returns an array of offsets containing the start

    offset for the entries of each unique name.

    Verifies that the provided number of data values match those expected by

    the abbreviation table.

    Defined at line 838 of file llvm/lib/ObjectYAML/DWARFEmitter.cpp

  • Constant * CastGEPIndices (Type * SrcElemTy, ArrayRef Ops, Type * ResultTy, GEPNoWrapFlags NW, optional InRange, const DataLayout & DL, const TargetLibraryInfo * TLI)

    If array indices are not pointer-sized integers, explicitly cast them so

    that they aren't implicitly casted by the getelementptr.

    Defined at line 845 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Expected<bool> parseGlobalDCEPassOptions (StringRef Params)

    Defined at line 847 of file llvm/lib/Passes/PassBuilder.cpp

  • int findSanitizerCovFunctions (const std::string & FileName)

    Defined at line 850 of file llvm/tools/sancov/sancov.cpp

  • Expected<bool> parseCGProfilePassOptions (StringRef Params)

    Defined at line 852 of file llvm/lib/Passes/PassBuilder.cpp

  • bool LibAtomicFunction (const Function & F)

    Defined at line 853 of file llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp

  • Array serializeField (TBDKey Key, const std::vector<InterfaceFileRef> & Values, const TargetList & ActiveTargets)

    Defined at line 856 of file llvm/lib/TextAPI/TextStubV5.cpp

  • Expected<bool> parseInlinerPassOptions (StringRef Params)

    Defined at line 857 of file llvm/lib/Passes/PassBuilder.cpp

  • basic_string gtest_WeightAndEndiannessTestInstrProfReaderWriterTest_EvalGenerateName_ (const ::testing::TestParamInfo<InstrProfReaderWriterTest::ParamType> & info)

    Defined at line 859 of file llvm/unittests/ProfileData/InstrProfTest.cpp

  • ParamGenerator gtest_WeightAndEndiannessTestInstrProfReaderWriterTest_EvalGenerator_ ()

    Defined at line 859 of file llvm/unittests/ProfileData/InstrProfTest.cpp

  • void expectNotFoundError (Error Err)

    Defined at line 861 of file llvm/unittests/FileCheck/FileCheckTest.cpp

  • Expected<bool> parseCoroSplitPassOptions (StringRef Params)

    Defined at line 862 of file llvm/lib/Passes/PassBuilder.cpp

  • void updateDomTree (MachineDominatorTree * DomTree, const SSAIfConv & IfConv, ArrayRef<MachineBasicBlock *> Removed)

    Update the dominator tree after if-conversion erased some blocks.

    Defined at line 862 of file llvm/lib/CodeGen/EarlyIfConversion.cpp

  • int findCoveragePointAddrs (const std::string & FileName)

    Locate addresses of all coverage points in a file. Coverage point

    is defined as the 'address of instruction following __sanitizer_cov

    call - 1'.

    Defined at line 863 of file llvm/tools/sancov/sancov.cpp

  • void printDelinearization (raw_ostream & O, Function * F, LoopInfo * LI, ScalarEvolution * SE)

    Defined at line 864 of file llvm/lib/Analysis/Delinearization.cpp

  • Expected<bool> parsePostOrderFunctionAttrsPassOptions (StringRef Params)

    Defined at line 867 of file llvm/lib/Passes/PassBuilder.cpp

  • template <typename AggregateT = std::vector<std::pair<MachO::Target, std::string>>>
    Array serializeFieldInInsertionOrder (TBDKey Key, const AggregateT & Values, const TargetList & ActiveTargets)

    Defined at line 869 of file llvm/lib/TextAPI/TextStubV5.cpp

  • void printCovPoints (const std::string & ObjFile, raw_ostream & OS)

    Defined at line 871 of file llvm/tools/sancov/sancov.cpp

  • Expected<CFGuardPass::Mechanism> parseCFGuardPassOptions (StringRef Params)

    Defined at line 872 of file llvm/lib/Passes/PassBuilder.cpp

  • template <typename VecType>
    VecType createBitVectorFromBits (uint32_t Size, initializer_list SetBits)

    Defined at line 879 of file llvm/unittests/ADT/BitVectorTest.cpp

  • ErrorOr<bool> isCoverageFile (const std::string & FileName)

    Defined at line 879 of file llvm/tools/sancov/sancov.cpp

  • void updateLoops (MachineLoopInfo * Loops, ArrayRef<MachineBasicBlock *> Removed)

    Update LoopInfo after if-conversion.

    Defined at line 880 of file llvm/lib/CodeGen/EarlyIfConversion.cpp

  • Constant * SymbolicallyEvaluateGEP (const GEPOperator * GEP, ArrayRef Ops, const DataLayout & DL, const TargetLibraryInfo * TLI)

    If we can symbolically evaluate the GEP constant expression, do so.

    Defined at line 881 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Expected<bool> parseEarlyCSEPassOptions (StringRef Params)

    Defined at line 892 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<bool> parseEntryExitInstrumenterPassOptions (StringRef Params)

    Defined at line 896 of file llvm/lib/Passes/PassBuilder.cpp

  • template <uint16_t Version, class AddrType>
    void TestAddresses ()

    Defined at line 898 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp

  • Array serializeSymbols (iterator_range Symbols, const TargetList & ActiveTargets)

    Defined at line 900 of file llvm/lib/TextAPI/TextStubV5.cpp

  • Expected<bool> parseDropUnnecessaryAssumesPassOptions (StringRef Params)

    Defined at line 901 of file llvm/lib/Passes/PassBuilder.cpp

  • bool isSymbolizedCoverageFile (const std::string & FileName)

    Defined at line 901 of file llvm/tools/sancov/sancov.cpp

  • Expected<bool> parseLoopExtractorPassOptions (StringRef Params)

    Defined at line 906 of file llvm/lib/Passes/PassBuilder.cpp

  • int symbolize (const RawCoverage & Data, basic_string ObjectFile)

    Defined at line 906 of file llvm/tools/sancov/sancov.cpp

  • Expected<bool> parseLowerMatrixIntrinsicsPassOptions (StringRef Params)

    Defined at line 910 of file llvm/lib/Passes/PassBuilder.cpp

  • template <typename Remark>
    Remark & operator<< (Remark & R, Cycles C)

    Defined at line 912 of file llvm/lib/CodeGen/EarlyIfConversion.cpp

  • Expected<IRNormalizerOptions> parseIRNormalizerPassOptions (StringRef Params)

    Defined at line 915 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<AddressSanitizerOptions> parseASanPassOptions (StringRef Params)

    Defined at line 940 of file llvm/lib/Passes/PassBuilder.cpp

  • int computeFunctions (const int & Points)

    Defined at line 950 of file llvm/tools/sancov/sancov.cpp

  • bool runOnBlock (BasicBlock & BB, const TargetLibraryInfo * TLI, const TargetTransformInfo * TTI, const TargetLowering * TL, const DataLayout & DL, ProfileSummaryInfo * PSI, BlockFrequencyInfo * BFI, DomTreeUpdater * DTU)

    Returns true if a change was made.

    Defined at line 952 of file llvm/lib/CodeGen/ExpandMemCmp.cpp

  • template <typename VecType>
    VecType createBitVector (uint32_t Size, const RangeList & setRanges)

    Defined at line 953 of file llvm/unittests/ADT/BitVectorTest.cpp

  • Expected<HWAddressSanitizerOptions> parseHWASanPassOptions (StringRef Params)

    Defined at line 960 of file llvm/lib/Passes/PassBuilder.cpp

  • int computeNotCoveredFunctions (const SymbolizedCoverage & Coverage)

    Defined at line 961 of file llvm/tools/sancov/sancov.cpp

  • PreservedAnalyses runImpl (Function & F, const TargetLibraryInfo * TLI, const TargetTransformInfo * TTI, const TargetLowering * TL, ProfileSummaryInfo * PSI, BlockFrequencyInfo * BFI, DominatorTree * DT)

    Defined at line 971 of file llvm/lib/CodeGen/ExpandMemCmp.cpp

  • Array serializeFlags (const InterfaceFile * File)

    Defined at line 973 of file llvm/lib/TextAPI/TextStubV5.cpp

  • int computeCoveredFunctions (const SymbolizedCoverage & Coverage)

    Defined at line 977 of file llvm/tools/sancov/sancov.cpp

  • void CheckFixedToFloatConversion (int64_t Val, const FixedPointSemantics & Sema, float Result)

    Defined at line 979 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • Expected<EmbedBitcodeOptions> parseEmbedBitcodePassOptions (StringRef Params)

    Defined at line 980 of file llvm/lib/Passes/PassBuilder.cpp

  • void testDiv (APInt a, APInt b, APInt c)

    Tests different div/rem varaints using scheme (a * b + c) / a

    Defined at line 983 of file llvm/unittests/ADT/APIntTest.cpp

  • void CheckFixedToHalfConversion (int64_t Val, const FixedPointSemantics & Sema, float Result)

    Defined at line 986 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • Expected serializeIF (const InterfaceFile * File)

    Defined at line 987 of file llvm/lib/TextAPI/TextStubV5.cpp

  • FunctionLocs resolveFunctions (const SymbolizedCoverage & Coverage, const int & Fns)

    finds first location in a file for each function.

    Defined at line 996 of file llvm/tools/sancov/sancov.cpp

  • Constant * ConstantFoldInstOperandsImpl (const Value * InstOrCE, unsigned int Opcode, ArrayRef Ops, const DataLayout & DL, const TargetLibraryInfo * TLI, bool AllowNonDeterministic)

    Attempt to constant fold an instruction with the

    specified opcode and operands. If successful, the constant result is

    returned, if not, null is returned. Note that this function can fail when

    attempting to fold instructions like loads and stores, which have no

    constant expression form.

    Defined at line 998 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Expected<LowerAllowCheckPass::Options> parseLowerAllowCheckPassOptions (StringRef Params)

    Defined at line 999 of file llvm/lib/Passes/PassBuilder.cpp

  • void printFunctionLocs (const FunctionLocs & FnLocs, raw_ostream & OS)

    Defined at line 1014 of file llvm/tools/sancov/sancov.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const AAPointerInfo::OffsetInfo & OI)

    Defined at line 1015 of file llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  • bool testCSKYArch (StringRef Arch, StringRef DefaultCPU)

    Defined at line 1017 of file llvm/unittests/TargetParser/CSKYTargetParserTest.cpp

  • CoverageStats computeStats (const SymbolizedCoverage & Coverage)

    Defined at line 1020 of file llvm/tools/sancov/sancov.cpp

  • void printCoveredFunctions (const SymbolizedCoverage & CovData, raw_ostream & OS)

    Print list of covered functions.

    Line format:

    <file

    _name>:

    <line

    >

    <function

    _name>

    Defined at line 1029 of file llvm/tools/sancov/sancov.cpp

  • error_code make_error_code (test_error_code E)

    Defined at line 1036 of file llvm/unittests/Support/ErrorTest.cpp

  • void printNotCoveredFunctions (const SymbolizedCoverage & CovData, raw_ostream & OS)

    Print list of not covered functions.

    Line format:

    <file

    _name>:

    <line

    >

    <function

    _name>

    Defined at line 1037 of file llvm/tools/sancov/sancov.cpp

  • void readAndPrintRawCoverage (const int & FileNames, raw_ostream & OS)

    Read list of files and merges their coverage info.

    Defined at line 1044 of file llvm/tools/sancov/sancov.cpp

  • Expected getJSON (const InterfaceFile * File, FileType FileKind)

    Defined at line 1048 of file llvm/lib/TextAPI/TextStubV5.cpp

  • const char * bitnessToString (uint32_t Bitness)

    Defined at line 1054 of file llvm/tools/sancov/sancov.cpp

  • void initializeNetwork (const ProfiParams & Params, MinCostMaxFlow & Network, FlowFunction & Func)

    Initializing flow network for a given function.

    Every block is split into two nodes that are responsible for (i) an

    incoming flow, (ii) an outgoing flow; they penalize an increase or a

    reduction of the block weight.

    Defined at line 1056 of file llvm/lib/Transforms/Utils/SampleProfileInference.cpp

  • const std::error_category & TErrorCategory ()

    Defined at line 1063 of file llvm/unittests/Support/ErrorTest.cpp

  • basic_string gtest_ParameterizedCovMapTestCoverageMappingTest_EvalGenerateName_ (const ::testing::TestParamInfo<CoverageMappingTest::ParamType> & info)

    Defined at line 1065 of file llvm/unittests/ProfileData/CoverageMappingTest.cpp

  • ParamGenerator gtest_ParameterizedCovMapTestCoverageMappingTest_EvalGenerator_ ()

    Defined at line 1065 of file llvm/unittests/ProfileData/CoverageMappingTest.cpp

  • void warnIfDifferentBitness (const FileHeader & Header1, const FileHeader & Header2, const std::string & File1Desc, const std::string & File2Desc)

    Warn if two file headers have different bitness.

    Defined at line 1067 of file llvm/tools/sancov/sancov.cpp

  • void testDiv (APInt a, uint64_t b, APInt c)

    Defined at line 1078 of file llvm/unittests/ADT/APIntTest.cpp

  • PrettyPrinter & selectPrettyPrinter (const Triple & Triple)

    Defined at line 1079 of file llvm/tools/llvm-objdump/llvm-objdump.cpp

  • Expected<MemorySanitizerOptions> parseMSanPassOptions (StringRef Params)

    Defined at line 1079 of file llvm/lib/Passes/PassBuilder.cpp

  • basic_string gtest_AArch64CPUTestsAArch64CPUTestFixture_EvalGenerateName_ (const ::testing::TestParamInfo<AArch64CPUTestFixture::ParamType> & info)

    Defined at line 1084 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • ParamGenerator gtest_AArch64CPUTestsAArch64CPUTestFixture_EvalGenerator_ ()

    Defined at line 1084 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • void diffRawCoverage (const std::string & FileA, const std::string & FileB, const std::string & OutputFile)

    Compute difference between two coverage files (A - B) and write to output

    file.

    Defined at line 1086 of file llvm/tools/sancov/sancov.cpp

  • Error createAnyError ()

    Defined at line 1090 of file llvm/unittests/Support/ErrorTest.cpp

  • Constant * ConstantFoldConstantImpl (const Constant * C, const DataLayout & DL, const TargetLibraryInfo * TLI, int & FoldedOps)

    Defined at line 1097 of file llvm/lib/Analysis/ConstantFolding.cpp

  • void CheckAdd (const APFixedPoint & Lhs, const APFixedPoint & Rhs, const APFixedPoint & Res)

    Defined at line 1105 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • Expected<AllocTokenOptions> parseAllocTokenPassOptions (StringRef Params)

    Defined at line 1109 of file llvm/lib/Passes/PassBuilder.cpp

  • void unionRawCoverage (const int & InputFiles, const std::string & OutputFile)

    Compute union of multiple coverage files and write to output file.

    Defined at line 1110 of file llvm/tools/sancov/sancov.cpp

  • void CheckAddOverflow (const APFixedPoint & Lhs, const APFixedPoint & Rhs)

    Defined at line 1114 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • AllocationType allocTypeToUse (uint8_t AllocTypes)

    Map the uint8_t alloc types (which may contain NotCold|Cold) to the alloc

    type we should actually use on the corresponding allocation.

    If we can't clone a node that has NotCold+Cold alloc type, we will fall

    back to using NotCold. So don't bother cloning to distinguish NotCold+Cold

    from NotCold.

    Defined at line 1124 of file llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

  • pair assignBlockCosts (const ProfiParams & Params, const FlowBlock & Block)

    Assign costs for increasing/decreasing the block counts.

    Defined at line 1127 of file llvm/lib/Transforms/Utils/SampleProfileInference.cpp

  • Expected<SimplifyCFGOptions> parseSimplifyCFGOptions (StringRef Params)

    Parser of parameters for SimplifyCFG pass.

    Defined at line 1135 of file llvm/lib/Passes/PassBuilder.cpp

  • int merge (const int & Coverages)

    Defined at line 1136 of file llvm/tools/sancov/sancov.cpp

  • template <typename DerivedCCG, typename FuncTy, typename CallTy>
    bool allocTypesMatch (const std::vector<uint8_t> & InAllocTypes, const std::vector<std::shared_ptr<ContextEdge<DerivedCCG, FuncTy, CallTy>>> & Edges)

    Helper to check if the alloc types for all edges recorded in the

    InAllocTypes vector match the alloc types for all edges in the Edges

    vector.

    Defined at line 1137 of file llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

  • pair assignJumpCosts (const ProfiParams & Params, const FlowJump & Jump)

    Assign costs for increasing/decreasing the jump counts.

    Defined at line 1155 of file llvm/lib/Transforms/Utils/SampleProfileInference.cpp

  • void CheckMul (const APFixedPoint & Lhs, const APFixedPoint & Rhs, const APFixedPoint & Res)

    Defined at line 1158 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • template <typename DerivedCCG, typename FuncTy, typename CallTy>
    bool allocTypesMatchClone (const std::vector<uint8_t> & InAllocTypes, const ContextNode<DerivedCCG, FuncTy, CallTy> * Clone)

    Helper to check if the alloc types for all edges recorded in the

    InAllocTypes vector match the alloc types for callee edges in the given

    clone. Because the InAllocTypes were computed from the original node's callee

    edges, and other cloning could have happened after this clone was created, we

    need to find the matching clone callee edge, which may or may not exist.

    Defined at line 1164 of file llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

  • void CheckMulOverflow (const APFixedPoint & Lhs, const APFixedPoint & Rhs)

    Defined at line 1167 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • int readSymbolizeAndMergeCmdArguments (int FileNames)

    Defined at line 1169 of file llvm/tools/sancov/sancov.cpp

  • void extractWeights (const ProfiParams & Params, MinCostMaxFlow & Network, FlowFunction & Func)

    Extract resulting block and edge counts from the flow network.

    Defined at line 1182 of file llvm/lib/Transforms/Utils/SampleProfileInference.cpp

  • Expected<InstCombineOptions> parseInstCombineOptions (StringRef Params)

    Defined at line 1183 of file llvm/lib/Passes/PassBuilder.cpp

  • std::ostream & operator<< (std::ostream & os, const AArch64CPUAliasTestParams & params)

    Defined at line 1186 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • template <class TypeParam>
    void testEmpty (const TypeParam & A)

    Defined at line 1192 of file llvm/unittests/ADT/BitVectorTest.cpp

  • bool operator== (const To & LHS, const To & RHS)

    Defined at line 1197 of file llvm/unittests/ADT/SmallVectorTest.cpp

  • basic_string aarch64FeaturesFromBits (Bitset BitFlags)

    Defined at line 1210 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • Expected<LoopVectorizeOptions> parseLoopVectorizeOptions (StringRef Params)

    Parser of parameters for LoopVectorize pass.

    Defined at line 1215 of file llvm/lib/Passes/PassBuilder.cpp

  • void verifyInput (const FlowFunction & Func)

    Verify that the provided block/jump weights are as expected.

    Defined at line 1219 of file llvm/lib/Transforms/Utils/SampleProfileInference.cpp

  • void CheckDiv (const APFixedPoint & Lhs, const APFixedPoint & Rhs, const APFixedPoint & Expected)

    Defined at line 1222 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • void CheckDivOverflow (const APFixedPoint & Lhs, const APFixedPoint & Rhs)

    Defined at line 1231 of file llvm/unittests/ADT/APFixedPointTest.cpp

  • Expected<std::pair<bool, bool>> parseLoopUnswitchOptions (StringRef Params)

    Defined at line 1235 of file llvm/lib/Passes/PassBuilder.cpp

  • void EliminateDeadPhis (MachineBasicBlock * MBB, MachineRegisterInfo & MRI, LiveIntervals * LIS, bool KeepSingleSrcPhi)

    Remove any dead phis in MBB. Dead phis either have only one block as input

    (in which case they are the identity) or have no uses.

    Defined at line 1237 of file llvm/lib/CodeGen/ModuloSchedule.cpp

  • basic_string gtest_EdgeCaseTestValueProfileMergeEdgeCaseTest_EvalGenerateName_ (const ::testing::TestParamInfo<ValueProfileMergeEdgeCaseTest::ParamType> & info)

    Defined at line 1253 of file llvm/unittests/ProfileData/InstrProfTest.cpp

  • ParamGenerator gtest_EdgeCaseTestValueProfileMergeEdgeCaseTest_EvalGenerator_ ()

    Defined at line 1253 of file llvm/unittests/ProfileData/InstrProfTest.cpp

  • basic_string gtest_AArch64CPUAliasTestsAArch64CPUAliasTestFixture_EvalGenerateName_ (const ::testing::TestParamInfo<AArch64CPUAliasTestFixture::ParamType> & info)

    Defined at line 1255 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • ParamGenerator gtest_AArch64CPUAliasTestsAArch64CPUAliasTestFixture_EvalGenerator_ ()

    Defined at line 1255 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • bool isSoleCallToLocalFunction (const CallBase & CB, const Function & Callee)

    Return true if CB is the sole call to local function Callee.

    Defined at line 1255 of file llvm/lib/Analysis/InlineCost.cpp

  • Expected<LICMOptions> parseLICMOptions (StringRef Params)

    Defined at line 1255 of file llvm/lib/Passes/PassBuilder.cpp

  • basic_string gtest_LineRangeParamsLineRangeFixture_EvalGenerateName_ (const ::testing::TestParamInfo<LineRangeFixture::ParamType> & info)

    Defined at line 1256 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • ParamGenerator gtest_LineRangeParamsLineRangeFixture_EvalGenerator_ ()

    Defined at line 1256 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • void verifyOutput (const FlowFunction & Func)

    Verify that the computed flow values satisfy flow conservation rules.

    Defined at line 1256 of file llvm/lib/Transforms/Utils/SampleProfileInference.cpp

  • Style getExistingStyle (StringRef Path)

    Defined at line 1257 of file llvm/lib/Support/VirtualFileSystem.cpp

  • void addValueProfData (InstrProfRecord & Record)

    Defined at line 1261 of file llvm/unittests/ProfileData/InstrProfTest.cpp

  • SmallString canonicalize (StringRef Path)

    Removes leading "./" as well as path components like ".." and ".".

    Defined at line 1269 of file llvm/lib/Support/VirtualFileSystem.cpp

  • Expected<std::pair<bool, bool>> parseLoopRotateOptions (StringRef Params)

    Defined at line 1273 of file llvm/lib/Passes/PassBuilder.cpp

  • bool isFileNotFound (error_code EC, RedirectingFileSystem::Entry * E)

    Whether the error and entry specify a file/directory that was not found.

    Defined at line 1282 of file llvm/lib/Support/VirtualFileSystem.cpp

  • bool lowerAmxType (Function & F, const TargetMachine * TM, TargetLibraryInfo * TLI)

    Defined at line 1283 of file llvm/lib/Target/X86/X86LowerAMXType.cpp

  • bool testAArch64Arch (StringRef Arch)

    Defined at line 1287 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • basic_string gtest_BadMinInstLenParamsBadMinInstLenFixture_EvalGenerateName_ (const ::testing::TestParamInfo<BadMinInstLenFixture::ParamType> & info)

    Defined at line 1291 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • ParamGenerator gtest_BadMinInstLenParamsBadMinInstLenFixture_EvalGenerator_ ()

    Defined at line 1291 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • Expected<bool> parseMergedLoadStoreMotionOptions (StringRef Params)

    Defined at line 1293 of file llvm/lib/Passes/PassBuilder.cpp

  • bool testAArch64Extension (StringRef CPUName, StringRef ArchExt)

    Defined at line 1313 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • Expected<GVNOptions> parseGVNOptions (StringRef Params)

    Defined at line 1313 of file llvm/lib/Passes/PassBuilder.cpp

  • bool testAArch64Extension (const AArch64::ArchInfo & AI, StringRef ArchExt)

    Defined at line 1322 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • Expected<IPSCCPOptions> parseIPSCCPOptions (StringRef Params)

    Defined at line 1343 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<ScalarizerPassOptions> parseScalarizerOptions (StringRef Params)

    Defined at line 1360 of file llvm/lib/Passes/PassBuilder.cpp

  • basic_string interceptStdout (function F)

    Defined at line 1362 of file llvm/unittests/Support/CommandLineTest.cpp

  • std::optional<ValueAndVReg> getAnyConstantSplat (Register VReg, const MachineRegisterInfo & MRI, bool AllowUndef)

    Defined at line 1365 of file llvm/lib/CodeGen/GlobalISel/Utils.cpp

  • Expected<SROAOptions> parseSROAOptions (StringRef Params)

    Defined at line 1394 of file llvm/lib/Passes/PassBuilder.cpp

  • void printOptionInfo (const cl::Option & O)

    This is a workaround for cl::Option sub-classes having their

    printOptionInfo functions private.

    Defined at line 1397 of file llvm/unittests/Support/CommandLineTest.cpp

  • int convertTo (Instruction * I, const InstructionsState & S)

    Defined at line 1407 of file llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  • Expected<StackLifetime::LivenessType> parseStackLifetimeOptions (StringRef Params)

    Defined at line 1407 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<bool> parseDependenceAnalysisPrinterOptions (StringRef Params)

    Defined at line 1427 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<bool> parseSeparateConstOffsetFromGEPPassOptions (StringRef Params)

    Defined at line 1432 of file llvm/lib/Passes/PassBuilder.cpp

  • basic_string Join (StringRef A, StringRef B, StringRef C)

    Defined at line 1433 of file llvm/unittests/TargetParser/TripleTest.cpp

  • Expected<bool> parseStructurizeCFGPassOptions (StringRef Params)

    Defined at line 1437 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<OptimizationLevel> parseFunctionSimplificationPipelineOptions (StringRef Params)

    Defined at line 1442 of file llvm/lib/Passes/PassBuilder.cpp

  • basic_string Join (StringRef A, StringRef B, StringRef C, StringRef D)

    Defined at line 1442 of file llvm/unittests/TargetParser/TripleTest.cpp

  • Expected<bool> parseMemorySSAPrinterPassOptions (StringRef Params)

    Defined at line 1453 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<bool> parseSpeculativeExecutionPassOptions (StringRef Params)

    Defined at line 1458 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<std::string> parseMemProfUsePassOptions (StringRef Params)

    Defined at line 1463 of file llvm/lib/Passes/PassBuilder.cpp

  • bool operator== (const Doggos & Doggo, const WooferCmp & )

    Defined at line 1473 of file llvm/unittests/ADT/STLExtrasTest.cpp

  • Expected<StructuralHashOptions> parseStructuralHashPrinterPassOptions (StringRef Params)

    Defined at line 1480 of file llvm/lib/Passes/PassBuilder.cpp

  • void printOptionValue (const cl::Option & O)

    Defined at line 1489 of file llvm/unittests/Support/CommandLineTest.cpp

  • Expected<bool> parseWinEHPrepareOptions (StringRef Params)

    Defined at line 1493 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<GlobalMergeOptions> parseGlobalMergeOptions (StringRef Params)

    Defined at line 1498 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<SmallVector<std::string, 0>> parseInternalizeGVs (StringRef Params)

    Defined at line 1529 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<RegAllocFastPass::Options> parseRegAllocFastPassOptions (PassBuilder & PB, StringRef Params)

    Defined at line 1547 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<BoundsCheckingPass::Options> parseBoundsCheckingOptions (StringRef Params)

    Defined at line 1580 of file llvm/lib/Passes/PassBuilder.cpp

  • basic_string remove_dots (StringRef path, bool remove_dot_dot, Style style)

    Defined at line 1590 of file llvm/unittests/Support/Path.cpp

  • Expected<CodeGenOptLevel> parseExpandIRInstsOptions (StringRef Param)

    Defined at line 1635 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<RAGreedyPass::Options> parseRegAllocGreedyFilterFunc (PassBuilder & PB, StringRef Params)

    Defined at line 1656 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<bool> parseMachineSinkingPassOptions (StringRef Params)

    Defined at line 1670 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<bool> parseMachineBlockPlacementPassOptions (StringRef Params)

    Defined at line 1675 of file llvm/lib/Passes/PassBuilder.cpp

  • Expected<bool> parseVirtRegRewriterPassOptions (StringRef Params)

    Defined at line 1688 of file llvm/lib/Passes/PassBuilder.cpp

  • basic_string gtest_TruncatedPrologueParamsTruncatedPrologueFixture_EvalGenerateName_ (const ::testing::TestParamInfo<TruncatedPrologueFixture::ParamType> & info)

    Defined at line 1698 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • ParamGenerator gtest_TruncatedPrologueParamsTruncatedPrologueFixture_EvalGenerator_ ()

    Defined at line 1698 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • bool linkOrdersEqual (const std::vector<JITDylibSP> & LHS, ArrayRef RHS)

    Defined at line 1703 of file llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp

  • Expected<FatLTOOptions> parseFatLTOOptions (StringRef Params)

    Defined at line 1706 of file llvm/lib/Passes/PassBuilder.cpp

  • uint8_t getEncodedType (const MCSectionXCOFF * )

    Packs the csect's alignment and type into a byte.

    Defined at line 1709 of file llvm/lib/MC/XCOFFObjectWriter.cpp

  • int SCCNodes (LazyCallGraph::SCC & C)

    Returns a vector containing the SCC's nodes. Useful for not iterating over an

    SCC while mutating it.

    Defined at line 1716 of file llvm/unittests/Analysis/CGSCCPassManagerTest.cpp

  • basic_string gtest_IEEESemanticsAPFloatConvertFromAPIntParamTest_EvalGenerateName_ (const ::testing::TestParamInfo<APFloatConvertFromAPIntParamTest::ParamType> & info)

    Defined at line 1740 of file llvm/unittests/ADT/APFloatTest.cpp

  • ParamGenerator gtest_IEEESemanticsAPFloatConvertFromAPIntParamTest_EvalGenerator_ ()

    Defined at line 1740 of file llvm/unittests/ADT/APFloatTest.cpp

  • APInt nanbitsFromAPInt (const fltSemantics & Sem, bool SNaN, bool Negative, uint64_t payload)

    Defined at line 1747 of file llvm/unittests/ADT/APFloatTest.cpp

  • void ICmpTestImpl (Predicate Pred)

    Defined at line 1796 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • void createFileWithData (const Twine & Path, bool ShouldExistBefore, CreationDisposition Disp, StringRef Data)

    Defined at line 1817 of file llvm/unittests/Support/Path.cpp

  • void verifyFileContents (const Twine & Path, StringRef Contents)

    Defined at line 1828 of file llvm/unittests/Support/Path.cpp

  • template <class SF>
    SUnit * popFromQueueImpl (int & Q, SF & Picker)

    Defined at line 1847 of file llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp

  • basic_string gtest_TruncatedExtendedOpcodeParamsTruncatedExtendedOpcodeFixture_EvalGenerateName_ (const ::testing::TestParamInfo<TruncatedExtendedOpcodeFixture::ParamType> & info)

    Defined at line 1856 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • ParamGenerator gtest_TruncatedExtendedOpcodeParamsTruncatedExtendedOpcodeFixture_EvalGenerator_ ()

    Defined at line 1856 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • template <class SF>
    SUnit * popFromQueue (int & Q, SF & Picker, ScheduleDAG * DAG)

    Defined at line 1863 of file llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp

  • basic_string gtest_MaybeSparseMaybeSparseInstrProfTest_EvalGenerateName_ (const ::testing::TestParamInfo<MaybeSparseInstrProfTest::ParamType> & info)

    Defined at line 1872 of file llvm/unittests/ProfileData/InstrProfTest.cpp

  • ParamGenerator gtest_MaybeSparseMaybeSparseInstrProfTest_EvalGenerator_ ()

    Defined at line 1872 of file llvm/unittests/ProfileData/InstrProfTest.cpp

  • bool isNotCapturedBeforeOrInLoop (const Value * V, const Loop * L, DominatorTree * DT)

    Defined at line 1873 of file llvm/lib/Transforms/Scalar/LICM.cpp

  • bool isNotVisibleOnUnwindInLoop (const Value * Object, const Loop * L, DominatorTree * DT)

    Return true if we can prove that a caller cannot inspect the object if an

    unwind occurs inside the loop.

    Defined at line 1886 of file llvm/lib/Transforms/Scalar/LICM.cpp

  • bool isThreadLocalObject (const Value * Object, const Loop * L, DominatorTree * DT, TargetTransformInfo * TTI)

    Defined at line 1896 of file llvm/lib/Transforms/Scalar/LICM.cpp

  • basic_string gtest_TruncatedStandardOpcodeParamsTruncatedStandardOpcodeFixture_EvalGenerateName_ (const ::testing::TestParamInfo<TruncatedStandardOpcodeFixture::ParamType> & info)

    Defined at line 1935 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • ParamGenerator gtest_TruncatedStandardOpcodeParamsTruncatedStandardOpcodeFixture_EvalGenerator_ ()

    Defined at line 1935 of file llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

  • void verifyRead (int FD, StringRef Data, bool ShouldSucceed)

    Defined at line 1961 of file llvm/unittests/Support/Path.cpp

  • void verifyWrite (int FD, StringRef Data, bool ShouldSucceed)

    Defined at line 1974 of file llvm/unittests/Support/Path.cpp

  • template <typename Fn>
    void TestNoWrapRegionExhaustive (BinaryOps BinOp, unsigned int NoWrapKind, Fn OverflowFn)

    Defined at line 2039 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • Constant * GetConstantFoldFPValue (double V, Type * Ty)

    Defined at line 2065 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Constant * GetConstantFoldFPValue128 (float128 V, Type * Ty)

    Defined at line 2078 of file llvm/lib/Analysis/ConstantFolding.cpp

  • void llvm_fenv_clearexcept ()

    Clear the floating-point exception state.

    Defined at line 2086 of file llvm/lib/Analysis/ConstantFolding.cpp

  • bool llvm_fenv_testexcept ()

    Test if a floating-point exception was raised.

    Defined at line 2094 of file llvm/lib/Analysis/ConstantFolding.cpp

  • template <typename LoadCommandType>
    ArrayRef getSegmentContents (const MachOObjectFile & Obj, LoadCommandInfo LoadCmd, StringRef SegmentName)

    Defined at line 2100 of file llvm/lib/Object/MachOObjectFile.cpp

  • APFloat FTZPreserveSign (const APFloat & V)

    Defined at line 2105 of file llvm/lib/Analysis/ConstantFolding.cpp

  • APFloat FlushToPositiveZero (const APFloat & V)

    Defined at line 2111 of file llvm/lib/Analysis/ConstantFolding.cpp

  • template <typename LoadCommandType>
    ArrayRef getSegmentContents (const MachOObjectFile & Obj, LoadCommandInfo LoadCmd)

    Defined at line 2116 of file llvm/lib/Object/MachOObjectFile.cpp

  • APFloat FlushWithDenormKind (const APFloat & V, DenormalModeKind DenormKind)

    Defined at line 2117 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Constant * ConstantFoldFP (double (*)(double) NativeFP, const APFloat & V, Type * Ty, DenormalMode DenormMode)

    Defined at line 2133 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Constant * ConstantFoldFP128 (float128 (*)(float128) NativeFP, const APFloat & V, Type * Ty)

    Defined at line 2157 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Constant * ConstantFoldBinaryFP (double (*)(double, double) NativeFP, const APFloat & V, const APFloat & W, Type * Ty)

    Defined at line 2170 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Constant * constantFoldVectorReduce (Intrinsic::ID IID, Constant * Op)

    Defined at line 2182 of file llvm/lib/Analysis/ConstantFolding.cpp

  • basic_string gtest_AArch64ExtensionDependenciesBaseArchAArch64ExtensionDependenciesBaseArchTestFixture_EvalGenerateName_ (const ::testing::TestParamInfo<AArch64ExtensionDependenciesBaseArchTestFixture::ParamType> & info)

    Defined at line 2271 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • ::testing::internal::ParamGenerator<AArch64ExtensionDependenciesBaseArchTestFixture::ParamType> gtest_AArch64ExtensionDependenciesBaseArchAArch64ExtensionDependenciesBaseArchTestFixture_EvalGenerator_ ()

    Defined at line 2271 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • Constant * ConstantFoldSSEConvertToInt (const APFloat & Val, bool roundTowardZero, Type * Ty, bool IsSigned)

    Attempt to fold an SSE floating point to integer conversion of a constant

    floating point. If roundTowardZero is false, the default IEEE rounding is

    used (toward nearest, ties to even). This matches the behavior of the

    non-truncating SSE instructions in the default rounding mode. The desired

    integer type Ty is used to select how many bits are available for the

    result. Returns null if the conversion cannot be performed, otherwise

    returns the Constant value resulting from the conversion.

    Defined at line 2271 of file llvm/lib/Analysis/ConstantFolding.cpp

  • double getValueAsDouble (ConstantFP * Op)

    Defined at line 2291 of file llvm/lib/Analysis/ConstantFolding.cpp

  • basic_string gtest_AArch64ExtensionDependenciesBaseCPUAArch64ExtensionDependenciesBaseCPUTestFixture_EvalGenerateName_ (const ::testing::TestParamInfo<AArch64ExtensionDependenciesBaseCPUTestFixture::ParamType> & info)

    Defined at line 2303 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • ::testing::internal::ParamGenerator<AArch64ExtensionDependenciesBaseCPUTestFixture::ParamType> gtest_AArch64ExtensionDependenciesBaseCPUAArch64ExtensionDependenciesBaseCPUTestFixture_EvalGenerator_ ()

    Defined at line 2303 of file llvm/unittests/TargetParser/TargetParserTest.cpp

  • bool getConstIntOrUndef (Value * Op, const APInt *& C)

    Defined at line 2303 of file llvm/lib/Analysis/ConstantFolding.cpp

  • bool mayFoldConstrained (ConstrainedFPIntrinsic * CI, opStatus St)

    Checks if the given intrinsic call, which evaluates to constant, is allowed

    to be folded.

    Parameters

    CI Constrained intrinsic call.
    St Exception flags raised during constant evaluation.

    Defined at line 2320 of file llvm/lib/Analysis/ConstantFolding.cpp

  • RoundingMode getEvaluationRoundingMode (const ConstrainedFPIntrinsic * CI)

    Returns the rounding mode that should be used for constant evaluation.

    Defined at line 2346 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Constant * constantFoldCanonicalize (const Type * Ty, const CallBase * CI, const APFloat & Src)

    Try to constant fold llvm.canonicalize for the given caller and value.

    Defined at line 2359 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Constant * ConstantFoldScalarCall1 (StringRef Name, Intrinsic::ID IntrinsicID, Type * Ty, ArrayRef Operands, const TargetLibraryInfo * TLI, const CallBase * Call)

    Defined at line 2408 of file llvm/lib/Analysis/ConstantFolding.cpp

  • template <typename Fn1, typename Fn2>
    void TestOverflowExhaustive (Fn1 OverflowFn, Fn2 MayOverflowFn)

    Defined at line 2415 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • int64_t getKnownNonNullAndDerefBytesForUse (Attributor & A, const AbstractAttribute & QueryingAA, Value & AssociatedValue, const Use * U, const Instruction * I, bool & IsNonNull, bool & TrackUse)

    Defined at line 2510 of file llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  • basic_string gtest_IVBitsOpenMPIRBuilderTestWithIVBits_EvalGenerateName_ (const int & info)

    Defined at line 2604 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • int gtest_IVBitsOpenMPIRBuilderTestWithIVBits_EvalGenerator_ ()

    Defined at line 2604 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • bool hasFunctionEndAsUniqueSuccessor (const BasicBlock * BB)

    Determines if

    exits the function unconditionally itself or reaches a

    block that does through only unique successors.

    Defined at line 2683 of file llvm/lib/Transforms/IPO/OpenMPOpt.cpp

  • basic_string gtest_OpenMPWSLoopSchedulingTypesOpenMPIRBuilderTestWithParams_EvalGenerateName_ (const int & info)

    Defined at line 2751 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • int gtest_OpenMPWSLoopSchedulingTypesOpenMPIRBuilderTestWithParams_EvalGenerator_ ()

    Defined at line 2751 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • template <typename T, typename U>
    APFloat makeDoubleAPFloat (T Hi, U Lo)

    Defined at line 2767 of file llvm/unittests/ADT/APFloatTest.cpp

  • APFloat makeDoubleAPFloat (DD X)

    Defined at line 2790 of file llvm/unittests/ADT/APFloatTest.cpp

  • template <typename T>
    void testConstantRangeICmpPredEquivalence (Predicate SrcPred, T Func)

    Defined at line 2962 of file llvm/unittests/IR/ConstantRangeTest.cpp

  • Constant * evaluateCompare (const APFloat & Op1, const APFloat & Op2, const ConstrainedFPIntrinsic * Call)

    Defined at line 3167 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Constant * ConstantFoldLibCall2 (StringRef Name, Type * Ty, ArrayRef Operands, const TargetLibraryInfo * TLI)

    Defined at line 3185 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Constant * ConstantFoldIntrinsicCall2 (Intrinsic::ID IntrinsicID, Type * Ty, ArrayRef Operands, const CallBase * Call)

    Defined at line 3249 of file llvm/lib/Analysis/ConstantFolding.cpp

  • raw_ostream & operator<< (raw_ostream & OS, const ExtAddrMode & AM)

    Defined at line 3259 of file llvm/lib/CodeGen/CodeGenPrepare.cpp

  • bool mayContainUnboundedCycle (Function & F, Attributor & A)

    Helper function that checks whether a function has any cycle which we don't

    know if it is bounded or not.

    Loops with maximum trip count are considered bounded, any other cycle not.

    Defined at line 3287 of file llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  • APFloat ConstantFoldAMDGCNCubeIntrinsic (Intrinsic::ID IntrinsicID, const APFloat & S0, const APFloat & S1, const APFloat & S2)

    Defined at line 3809 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Constant * ConstantFoldAMDGCNPermIntrinsic (ArrayRef Operands, Type * Ty)

    Defined at line 3864 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Constant * ConstantFoldScalarCall3 (StringRef Name, Intrinsic::ID IntrinsicID, Type * Ty, ArrayRef Operands, const TargetLibraryInfo * TLI, const CallBase * Call)

    Defined at line 3904 of file llvm/lib/Analysis/ConstantFolding.cpp

  • void swapStruct (struct cfstring64_t & cfs)

    Defined at line 3933 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct class64_t & c)

    Defined at line 3940 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct class32_t & c)

    Defined at line 3948 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct class_ro64_t & cro)

    Defined at line 3956 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct class_ro32_t & cro)

    Defined at line 3970 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct method_list64_t & ml)

    Defined at line 3983 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct method_list32_t & ml)

    Defined at line 3988 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct method64_t & m)

    Defined at line 3993 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct method32_t & m)

    Defined at line 3999 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct method_relative_t & m)

    Defined at line 4005 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct protocol_list64_t & pl)

    Defined at line 4011 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct protocol_list32_t & pl)

    Defined at line 4015 of file llvm/tools/llvm-objdump/MachODump.cpp

  • raw_ostream & operator<< (raw_ostream & out, const LDVSSAPhi & PHI)

    Defined at line 4019 of file llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp

  • void swapStruct (struct protocol64_t & p)

    Defined at line 4019 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct protocol32_t & p)

    Defined at line 4030 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct ivar_list64_t & il)

    Defined at line 4041 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct ivar_list32_t & il)

    Defined at line 4046 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct ivar64_t & i)

    Defined at line 4051 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct ivar32_t & i)

    Defined at line 4059 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_property_list64 & pl)

    Defined at line 4067 of file llvm/tools/llvm-objdump/MachODump.cpp

  • Constant * ConstantFoldScalarCall (StringRef Name, Intrinsic::ID IntrinsicID, Type * Ty, ArrayRef Operands, const TargetLibraryInfo * TLI, const CallBase * Call)

    Defined at line 4068 of file llvm/lib/Analysis/ConstantFolding.cpp

  • void swapStruct (struct objc_property_list32 & pl)

    Defined at line 4072 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_property64 & op)

    Defined at line 4077 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_property32 & op)

    Defined at line 4082 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct category64_t & c)

    Defined at line 4087 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct category32_t & c)

    Defined at line 4096 of file llvm/tools/llvm-objdump/MachODump.cpp

  • Constant * ConstantFoldFixedVectorCall (StringRef Name, Intrinsic::ID IntrinsicID, FixedVectorType * FVTy, ArrayRef Operands, const DataLayout & DL, const TargetLibraryInfo * TLI, const CallBase * Call)

    Defined at line 4096 of file llvm/lib/Analysis/ConstantFolding.cpp

  • void swapStruct (struct objc_image_info64 & o)

    Defined at line 4105 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_image_info32 & o)

    Defined at line 4110 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct imageInfo_t & o)

    Defined at line 4115 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct message_ref64 & mr)

    Defined at line 4120 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct message_ref32 & mr)

    Defined at line 4125 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_module_t & module)

    Defined at line 4130 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_symtab_t & symtab)

    Defined at line 4137 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_class_t & objc_class)

    Defined at line 4144 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_category_t & objc_category)

    Defined at line 4157 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_ivar_list_t & objc_ivar_list)

    Defined at line 4165 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_ivar_t & objc_ivar)

    Defined at line 4169 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_method_list_t & method_list)

    Defined at line 4175 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_method_t & method)

    Defined at line 4180 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_protocol_list_t & protocol_list)

    Defined at line 4186 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_protocol_t & protocol)

    Defined at line 4191 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_method_description_list_t & mdl)

    Defined at line 4199 of file llvm/tools/llvm-objdump/MachODump.cpp

  • void swapStruct (struct objc_method_description_t & md)

    Defined at line 4203 of file llvm/tools/llvm-objdump/MachODump.cpp

  • Constant * ConstantFoldScalableVectorCall (StringRef Name, Intrinsic::ID IntrinsicID, ScalableVectorType * SVTy, ArrayRef Operands, const DataLayout & DL, const TargetLibraryInfo * TLI, const CallBase * Call)

    Defined at line 4309 of file llvm/lib/Analysis/ConstantFolding.cpp

  • std::pair<Constant *, Constant *> ConstantFoldScalarFrexpCall (Constant * Op, Type * IntTy)

    Defined at line 4373 of file llvm/lib/Analysis/ConstantFolding.cpp

  • Constant * ConstantFoldStructCall (StringRef Name, Intrinsic::ID IntrinsicID, StructType * StTy, ArrayRef Operands, const DataLayout & DL, const TargetLibraryInfo * TLI, const CallBase * Call)

    Handle intrinsics that return tuples, which may be tuples of vectors.

    Defined at line 4396 of file llvm/lib/Analysis/ConstantFolding.cpp

  • bool identifyAliveSuccessors (Attributor & A, const CallBase & CB, AbstractAttribute & AA, SmallVectorImpl<const Instruction *> & AliveSuccessors)

    Defined at line 4666 of file llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  • bool identifyAliveSuccessors (Attributor & A, const InvokeInst & II, AbstractAttribute & AA, SmallVectorImpl<const Instruction *> & AliveSuccessors)

    Defined at line 4683 of file llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  • bool identifyAliveSuccessors (Attributor & A, const BranchInst & BI, AbstractAttribute & AA, SmallVectorImpl<const Instruction *> & AliveSuccessors)

    Defined at line 4709 of file llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  • bool identifyAliveSuccessors (Attributor & A, const SwitchInst & SI, AbstractAttribute & AA, SmallVectorImpl<const Instruction *> & AliveSuccessors)

    Defined at line 4734 of file llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  • template <class ELFT>
    RelSymbol<ELFT> getSymbolForReloc (const ELFDumper<ELFT> & Dumper, const Relocation<ELFT> & Reloc)

    Defined at line 4915 of file llvm/tools/llvm-readobj/ELFDumper.cpp

  • template <typename InstTy>
    InstTy * findSingleUserInBlock (Value * V, BasicBlock * BB)

    Returns the single instruction of InstTy type in BB that uses the value V.

    If there is more than one such instruction, returns null.

    Defined at line 5079 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • bool isSimpleBinaryReduction (Value * Accum, BasicBlock * BB, Instruction::BinaryOps * OpCode)

    Returns true if BB contains a simple binary reduction that loads a value

    from Accum, performs some binary operation with it, and stores it back to

    Accum.

    Defined at line 5101 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • bool isValueReducedToFuncArg (Value * V, BasicBlock * BB)

    Returns true if BB contains a binary reduction that reduces V using a binary

    operator into an accumulator that is a function argument.

    Defined at line 5117 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • bool findGEPZeroOne (Value * Ptr, Value *& Zero, Value *& One)

    Finds among users of Ptr a pair of GEP instructions with indices [0, 0] and

    [0, 1], respectively, and assigns results of these instructions to Zero and

    One. Returns true on success, false on failure or if such instructions are

    not unique among the users of Ptr.

    Defined at line 5138 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • InsertPoint sumReduction (InsertPoint IP, Value * LHS, Value * RHS, Value *& Result)

    Defined at line 5167 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • InsertPoint sumAtomicReduction (InsertPoint IP, Type * Ty, Value * LHS, Value * RHS)

    Defined at line 5175 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • InsertPoint xorReduction (InsertPoint IP, Value * LHS, Value * RHS, Value *& Result)

    Defined at line 5185 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • unsigned int getKnownAlignForUse (Attributor & A, AAAlign & QueryingAA, Value & AssociatedValue, const Use * U, const Instruction * I, bool & TrackUse)

    Defined at line 5192 of file llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  • InsertPoint xorAtomicReduction (InsertPoint IP, Type * Ty, Value * LHS, Value * RHS)

    Defined at line 5193 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • void createScan (llvm::Value * scanVar, llvm::Type * scanType, OpenMPIRBuilder & OMPBuilder, int & Builder, LocationDescription Loc, OpenMPIRBuilder::InsertPointTy & allocaIP, ScanInfo *& ScanRedInfo)

    Defined at line 5449 of file llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  • array ppcDoubleDoubleRoundToIntegralTests ()

    Defined at line 5456 of file llvm/unittests/ADT/APFloatTest.cpp

  • basic_string gtest_PPCDoubleDoubleRoundToIntegralValueParamTestsPPCDoubleDoubleRoundToIntegralValueTest_EvalGenerateName_ (const ::testing::TestParamInfo<PPCDoubleDoubleRoundToIntegralValueTest::ParamType> & info)

    Defined at line 5865 of file llvm/unittests/ADT/APFloatTest.cpp

  • ParamGenerator gtest_PPCDoubleDoubleRoundToIntegralValueParamTestsPPCDoubleDoubleRoundToIntegralValueTest_EvalGenerator_ ()

    Defined at line 5865 of file llvm/unittests/ADT/APFloatTest.cpp

  • basic_string gtest_PPCDoubleDoubleConvertToIntegerValueParamTestsPPCDoubleDoubleConvertToIntegerValueTest_EvalGenerateName_ (const ::testing::TestParamInfo<PPCDoubleDoubleConvertToIntegerValueTest::ParamType> & info)

    Defined at line 6212 of file llvm/unittests/ADT/APFloatTest.cpp

  • ParamGenerator gtest_PPCDoubleDoubleConvertToIntegerValueParamTestsPPCDoubleDoubleConvertToIntegerValueTest_EvalGenerator_ ()

    Defined at line 6212 of file llvm/unittests/ADT/APFloatTest.cpp

  • basic_string gtest_PPCDoubleDoubleCompareAbsoluteValueValueParamTestsPPCDoubleDoubleCompareAbsoluteValueValueTest_EvalGenerateName_ (const ::testing::TestParamInfo<PPCDoubleDoubleCompareAbsoluteValueValueTest::ParamType> & info)

    Defined at line 6363 of file llvm/unittests/ADT/APFloatTest.cpp

  • ParamGenerator gtest_PPCDoubleDoubleCompareAbsoluteValueValueParamTestsPPCDoubleDoubleCompareAbsoluteValueValueTest_EvalGenerator_ ()

    Defined at line 6363 of file llvm/unittests/ADT/APFloatTest.cpp

  • iterator_range<llvm::DIExpression::expr_op_iterator> ToDwarfOpIter (SmallVectorImpl<uint64_t> & Expr)

    Enables more convenient iteration over a DWARF expression vector.

    Defined at line 6376 of file llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp

  • basic_string gtest_PPCDoubleDoubleFrexpValueParamTestsPPCDoubleDoubleFrexpValueTest_EvalGenerateName_ (const ::testing::TestParamInfo<PPCDoubleDoubleFrexpValueTest::ParamType> & info)

    Defined at line 6737 of file llvm/unittests/ADT/APFloatTest.cpp

  • ParamGenerator gtest_PPCDoubleDoubleFrexpValueParamTestsPPCDoubleDoubleFrexpValueTest_EvalGenerator_ ()

    Defined at line 6737 of file llvm/unittests/ADT/APFloatTest.cpp

  • template <typename T>
    uint64_t read (StringRef Contents, ptrdiff_t Offset)

    Defined at line 7783 of file llvm/tools/llvm-objdump/MachODump.cpp

  • template <typename T>
    uint64_t readNext (StringRef Contents, ptrdiff_t & Offset)

    Defined at line 7795 of file llvm/tools/llvm-objdump/MachODump.cpp

  • bool operator< (const UseMemo & L, const UseMemo & R)

    operator

    <

    - Sort Memos by User.

    Defined at line 12471 of file llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  • template <typename InstType>
    bool makeChange (Attributor & AInstType * MemInstconst Use & UValue * OriginalValuePointerType * NewPtrTybool UseOriginalValue)

    Defined at line 12981 of file llvm/lib/Transforms/IPO/AttributorAttributes.cpp